-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment
For this example we'll be installing Methods Core into /usr/local/MethodsCore
-
The following will work if you have the ssh key needed
$ git clone [email protected]/UMPsychMethodsCore/MethodsCore /usr/local/MethodsCore
Otherwise, you can use
$ git clone https://github.com/UMPsychMethodsCore/MethodsCore.git /usr/local/MethodsCore
and enter your GitHub account name and password to bootstrap.
-
$ cd /usr/local/MethodsCore/.deploy
-
$ ./setup_deployment.sh
If this is a Brainbox deployment, replace the
/usr/local/MethodsCore/.local
ssh keys with the generic Brainbox ssh keys; ask Bennet about getting those for now. -
$ cd /usr/local/MethodsCore/.local/
-
Add the
deploy.pub
public key to the deployment keys on Github unless using the generic Brainbox deployment key(s). If you aren't Mike, send thedeploy.pub
to him via e-mail or Slack. -
If you want to track a branch other than public (like
dev
) edit the branch file. The currently used branches arepublic
anddev
only. -
$ cd /usr/local/MethodsCore/.deploy/src
-
$ ./self_update.sh
Optional
If you need to support spm8Batch
command line preprocessing scripts add the following to
/etc/profile.d/methodscore.sh
source /usr/local/MethodsCore/spm8Batch/spm8Setup
export MATLABPATH='/usr/local/MethodsCore/SPM/SPM8/spm8_with_R6313'
- Add the machine name and PI name to the Deployed Machines