Add load() method to BaseFilter
[compass/delber.git] / README.md
blob0aa2c4268e5f66c8e5e04aeec561edd0f7ea330f
1 Tor relay stats
2 =========
4 Show various metrics related to tor relays.
6 Deploy
7 ====
8 ```
9 * Install Pip
10 $ apt-get install python-dev python-pip
11 * Use requirements.txt to install dependancies
12 $ pip install -r requirements.txt
13 * Install foreman
14 $ gem install foreman
15 * Use the Procfile to run the app
16 $ foreman start
17 ```
19 In case you want to use Apache, 
20 ```
21 $ cat app.wsgi
22 #!/usr/bin/python
24 import os, sys
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}
36     Order deny,allow
37     Allow from all
38 </Directory>
39 ```