-
Notifications
You must be signed in to change notification settings - Fork 61
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.py
file from the given template.$ cp config.template.py config.py
-
Create a
courselabs
directory and assign that path toConfig.COURSELABS
inconfig.py
. -
Populate
Config.KEYS
inconfig.py
with some keys that the client will need to know to send jobs to Tango. -
Set up a VMMS for Tango to use. To set up a VMMS for Tango, follow one of the VMMS set up guides on the wiki sidebar. The easiest VMMS to set up for Tango is the Local Docker VMMS, which will run jobs in a Docker container hosted on your local machine. Depending on the VMMS that is used, you may also need to 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 testing guide.