https://github.com/datajoint/example
Example schema
https://github.com/datajoint/example
Last synced: 10 months ago
JSON representation
Example schema
- Host: GitHub
- URL: https://github.com/datajoint/example
- Owner: datajoint
- Archived: true
- Created: 2012-11-05T01:53:53.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-12-07T22:47:20.000Z (about 13 years ago)
- Last Synced: 2025-02-28T00:29:27.856Z (12 months ago)
- Language: Matlab
- Size: 270 KB
- Stars: 0
- Watchers: 11
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repoisitory contains a simple DataJoint schema to help new users learn the basics of DataJoint.
Instructions
====
Set up the database server
-----
* Install MySQL Server
* Create a user account that has privileges to create schemas and tables.
Note: do not use your secret password since it will be entered in plain text.
Configure the DataJoint library for MATLAB
----
* Clone the mym library repository
git clone git://github.com/datajoint/mym.git
* Clone the DataJoint Git repository:
git clone git://github.com/datajoint/datajoint-matlab.git
Configure the example schema
-----
* Clone the Git repository for the example schema:
git clone git://github.com/datajoint/example.git
* Download the database dump file from
https://github.com/downloads/datajoint/example/dj_example.mat
* Start Matlab and navigate to the root directory of the example
repository. Edit `settings_template.m`, fill in the necessary information,
and save it as `settings.m`
* Run the following commands:
startup()
setup()
restore('/path/to/dumpfile/dj_example.mat')
* Plot the entity relationship diagram (ERD) by typing
erd example
You should see the following diagram, which depicts the objects in the schema and their dependencies, directed top-to-bottom.
You can proceed to [Lesson 1](https://github.com/datajoint/example/wiki/)