The HaxbyLab@Dartmouth

Instructions for newcomers

«  Documentation collection   ::   Home   ::   How to maintain the website  »

Instructions for newcomers

GIT repositories

There is a number of internal GIT repositories located under hydra:/srv/git

haxbylab.dartmouth.edu.git
This website sources
haxbylab.dartmouth.edu-publications
Not a git repository (yet) – contains .PDFs and PNGs for our publications as used by the website TODO: place it under git-annex control within the website repository
mturk-ak.git
Mechanical turk project by Andy
serial-utils.git
Little scripts to test serial connection and usb->serial dongles

Configuring GIT and SSH

Set your git configuration to have proper name <email> for you. In terminal type:

git config --global user.name "Firstname Lastname"
git config --global user.email "your_email@youremail.com"

If you want to access our GIT repositories remotely via ssh, make sure you configured SSH to use our alternative port by default. So, modify (or create if necessary) ~/.ssh/config with:

Host hydra  hydra.dartmouth.edu
  Post 11110

Now you should be able to clone remotely without needing to specify custom port number, e.g. for the website repository, run:

git clone ssh://hydra.dartmouth.edu/srv/git/haxbylab.dartmouth.edu.git

and see How to maintain the website and shipped README for more information.

Create personal webpage

File source/ppl/SHORTNAME.rst should be created following pages of others (e.g. andy.rst is a good one ;-) ) as an example. Necessary bibliography references could/should be placed within source/_static/haxbylab.bib (e.g. in an editor or using kbibtex). Created page should be

  • Corresponding SHORTNAME should be mentioned in source/ppl/index.rst

  • new file and modified index.rst should be added to GIT and changes should be pushed:

    git add source/ppl/SHORTNAME.rst source/ppl/index.rst
    git commit -m "Added my personal page"
    git push
    

«  Documentation collection   ::   Home   ::   How to maintain the website  »