-
Notifications
You must be signed in to change notification settings - Fork 3
Creating a new experiment
Pierce Edmiston edited this page Dec 4, 2018
·
2 revisions
Once you have an experiment ready that you'd like to run in the lab, it's best to put it under version control.
- Create a git repo on your local computer.
cd /path/to/my/experiment
git init .
git add .
git commit -m "First version of the experiment"
- Create a git repo on GitHub.
- Go to GitHub.com
- Click the "+" to create a new repository.
- Set the owner to "lupyanlab" and give it a name.
Note: Don't check the box for Initializing the repo with a README if you already created the repo on your local computer.
- Point your local git repo to the GitHub endpoint
git remote add origin https://github.com/lupyanlab/name-of-my-repo.git
git push -u origin master
- Install the experiment on the lab computers.
cd ~/Dropbox/LupyanExps
git clone https://github.com/lupyanlab/name-of-my-repo.git