4 Show various metrics related to tor relays.
10 $ apt-get install python-dev python-pip
11 * Use requirements.txt to install dependancies
12 $ pip install -r requirements.txt
15 * Use the Procfile to run the app
19 In case you want to use Apache,
25 sys.path.append('/path/to/app')
27 from app import app as application
29 $ cat /etc/apache2/sites-available/default
30 WSGIDaemonProcess compass user=nobody group=compass threads=5
31 WSGIScriptAlias /compass /srv/compass.torproject.org/compass/app.wsgi
33 <Directory /srv/compass.torproject.org/compass>
34 WSGIProcessGroup compass
35 WSGIApplicationGroup %{GLOBAL}