Skip to content
Yashas Kumar edited this page Sep 8, 2015 · 9 revisions

Introduction

This document outlines the steps needed to set up the Tango service.

Setting up the Tango server

  1. Obtain the source code.

    $ git clone https://github.com/autolab/Tango.git; cd Tango
  2. Create a config.py file from the given template.

    $ cp config.template.py config.py
  3. Create a courselabs directory and assign that path to Config.COURSELABS in config.py.

  4. Populate Config.KEYS in config.py with some keys that the client will need to know to send jobs to Tango.

  5. Set up a VMMS for Tango to use. To do this, follow one of the VMMS set up guides on the wiki sidebar. The easiest VMMS to set up initially is the Local Docker VMMS, which will run jobs in a local Docker container. Depending on the VMMS that is selected, 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.

  6. 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

Running Tango

See the start up guide.

Testing Your Setup

See the testing guide.

Clone this wiki locally