/cbrain_vagrant

This is a VagrantFile that will provision and create a CBRAIN instance using a base of ubuntu/xenial64

Primary LanguageShell

cbrain-vagrant

This is a VagrantFile that will provision and create a CBRAIN instance using a base of ubuntu/xenial64.

The Vagrant provisions an image to provide you with the following components:

  1. An admin account which you will be asked to change the password on upon first instantiation.
  2. A Brain Portal that is called CBRAINVagrant
  3. Three Data Providers: A CBRAIN Enhannced DP, a SSH DP, and a Local DP.
  4. A Bourreau in which you can run tools inside the virtual machine.

To use:

  1. vagrant up (will provision)
  2. at the end of the provision process, the temporary CBRAIN password will be displayed in the log
  3. if failed due to on rmv intall due rsa key issue destroy vagrant an try previous steps latter
  4. vagrant ssh
  5. cd cbrain/BrainPortal
  6. type 'rails server puma -b 0.0.0.0 -p 3000 -e development'
  7. go to your local browser and type in the address '127.0.0.1:3000' and you should see the CBRAIN login page.

Note the VagrantFile is using the new plugin interface, if would like to change the resources allocated to the Vagrant, you can set the diskspace and memory requirements there, it is currently set to use 8GB of RAM and 20GB of disk space.