-
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/MethodsCoreOtherwise, you can use
$ git clone https://github.com/UMPsychMethodsCore/MethodsCore.git /usr/local/MethodsCoreand enter your GitHub account name and password to bootstrap.
-
$ cd /usr/local/MethodsCore/.deploy -
$ ./setup_deployment.shIf this is a Brainbox deployment, replace the
/usr/local/MethodsCore/.localssh keys with the generic Brainbox ssh keys; ask Bennet about getting those for now. -
$ cd /usr/local/MethodsCore/.local/ -
Add the
deploy.pubpublic key to the deployment keys on Github unless using the generic Brainbox deployment key(s). If you aren't Mike, send thedeploy.pubto 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 arepublicanddevonly. -
$ 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