newsdemo: the main project
newsdemo/apps/viz: the app for user interfaces
newsdemo/apps/crawler: all methods of crawlers
$ pip install celery $ pip install django-celery
Install RabbitMq here and start it on your computer
$ python manage.py migrate --settings=newsdemo.settings.local
Start the user interface process: $ python manage.py runserver --settings=newsdemo.settings.local
Start the auto-crawler process: $ python manage.py celery worker --loglevel=info --settings=newsdemo.settings.local
See example in newsdemo/apps/crawler/crawlers.py - class TestCrawler