Contents
Linux / Mac
Checking Out Continuity
-
If you have not already done so, download and install Git. You will also need autoconf
- If you’re on a Debian-based distribution like Ubuntu, try apt-get:
sudo apt-get install git-all sudo apt-get install autoconf
- If you’re using Mac OSX, try brew (make sure you have Homebrew installed):
sudo brew install git-all sudo brew install autoconf
- If you’re on a Debian-based distribution like Ubuntu, try apt-get:
-
Send an e-mail to Connie Du (c2du@ucsd.edu), cc-ing Dr. McCulloch (amcculloch@ucsd.edu) on the email, requesting to have access to the Continuity Git repository.
- Wait until you have received an e-mail stating that access has been granted. This is not an automated process, this can take some time.
- Next, make sure you have Git LFS installed. (Rocce cluster instructions for Git LFS)
- You now have access to the cmrg git repository which will allow you clone the source. Use this command to copy the code onto into your current directory:
git lfs clone https://github.com/cmrglab/Continuity.git
- Then you just need to do some setup/configuring commands
cd Continuity ./updatemgl sh setup source mglinit
- Lastly, the first time you start Continuity you need to move some files into place and you need to include the –update-binaries command to do that:
./continuity --update-binaries
- Your configuration of the master branch is now complete, to work with other branches see below.
Obtaining branches other than master
-
When you first clone the repository you only get the master branch. To obtain others you must edit the .git/config file within the repository. Replace this line:
fetch = +refs/heads/master:refs/remotes/origin/master
with:
fetch = +refs/heads/*:refs/remotes/origin/*
- Fetch the most recent remote branches with :
git fetch
- Checkout your desired branch with:
git checkout branch_name
Rocce Cluster instructions
- Export Git LFS to your PATH variable :
export PATH=/share/apps/git/2.13.7/bin:/share/apps/git-lfs/2.5.0/bin:$PATH
- Install Git LFS :
git lfs install