LalithaMV / Wikiaudia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is wikiaudia
The main app is in wa (short for wikiaudia)

Installtion - Celery and redis backend

$ wget http://download.redis.io/redis-stable.tar.gz
$ tar xvzf redis-stable.tar.gz
$ cd redis-stable
$ make
$ make install

Install the new requirements:

$ pip install -r requirements.txt
Add the following to setup.py:

Create the database datatables:

# If you're using South:
$ python manage.py migrate djcelery
# otherwise:
$ python manage.py syncdb
Now to start your redis server and a celery worker.

# Start the redis server
$ redis-server
# In a new terminal window/tab, start a celery worker
$ celery -A tasks worker --loglevel=info
--> USE THIS : python manage.py celeryd -l info at the project level 


# In ANOTHER terminal window/tab, enable the Django Celery monitor
# so that you can manage your tasks from your admin page
$ python manage.py celerycam

About


Languages

Language:JavaScript 61.0%Language:CSS 25.4%Language:Python 12.2%Language:Shell 1.3%