description | Script and website to extract relay statistics |
homepage URL | https://compass.torproject.org/ |
repository URL | https://git.torproject.org/compass.git |
owner | delber@riseup.net |
last change | Tue, 2 Jan 2018 16:00:16 +0000 (2 17:00 +0100) |
last refresh | Thu, 25 Apr 2024 16:10:48 +0000 (25 18:10 +0200) |
mirror URL | git://repo.or.cz/compass.git |
https://repo.or.cz/compass.git | |
ssh://git@repo.or.cz/compass.git | |
bundle info | compass.git downloadable bundles |
content tags |
Show various metrics related to tor relays.
* Install Pip
$ apt-get install python-dev python-pip
* Use requirements.txt to install dependancies
$ pip install -r requirements.txt
* Install foreman
$ gem install foreman
* Use the Procfile to run the app
$ foreman start
In case you want to use Apache,
$ cat app.wsgi
#!/usr/bin/python
import os, sys
sys.path.append('/path/to/app')
from app import app as application
$ cat /etc/apache2/sites-available/default
WSGIDaemonProcess compass user=nobody group=compass threads=5
WSGIScriptAlias /compass /srv/compass.torproject.org/compass/app.wsgi
<Directory /srv/compass.torproject.org/compass>
WSGIProcessGroup compass
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
Licensed under MIT License (c) Sathyanarayanan Gunasekaran, The Tor Project
6 years ago | master | logtree |
compass/delber.git | Script and website to extract relay statistics | delber@riseup.net | 11 years ago | summarylogtree |