The best web search written in 3 days on Summer Scientific Schools.
$ git clone [email protected]:pathes/supernova.git
$ cd supernova
$ virtualenv . # or: virtualenv -p python3 .
$ . bin/activate
$ pip install -r requirements.txt
# if does not work, start with with installing Django
$ pip install https://www.djangoproject.com/download/1.7c3/tarball/
$ supernova/manage.py migrate
$ supernova/manage.py runserver
$ rabbitmq-server
$ celery -A supernova worker --loglevel=debug
To test:
$ ./manage.py shell
>>> from bot import tasks
>>> x = tasks.add.delay(5,5) # or with other function from tasks
>>> x.status
'SUCCESS'
>>> x.get()
10
To clear pending tasks from queue:
celery purge
Go to pagerank directory and compile C++ pagerank calculator:
cd pagerank
make