-
Notifications
You must be signed in to change notification settings - Fork 63
Set up Tango
This document outlines the steps needed to set up the Tango service.
-
Obtain the source code.
$ git clone https://github.com/autolab/Tango.git; cd Tango
-
Create a
config.pyfile from the given template.$ cp config.template.py config.py
-
Create a
courselabsdirectory and assign that path toConfig.COURSELABSinconfig.py. -
Populate
Config.KEYSinconfig.pywith some keys that the client will need to know to send jobs to Tango. -
Set up a VMMS for Tango to use. To do this, follow one of the VMMS set up guides on the wiki sidebar:
- Set up Local Docker VMMS
- Set up Dist Docker VMMS
- Set up Amazon EC2 VMMS
- Set up Local VMMS
-
Depending on the VMMS that is selected, you may also need to manually bootstrap the VMs that are used to ensure that Tango has the appropriate permissions to run jobs on the VM. This will be specified if necessary in the corresponding VMMS set up guide.
-
Set up your environment. From the Tango directory:
$ sudo apt-get install python-pip $ pip install virtualenv $ virtualenv . $ source bin/activate $ pip install -r requirements.txt $ mkdir volumes
See the start up guide.
See the testing guide.