# make a virtual environment (if necessary) virtualenv env source ./env/bin/activate # install dependancies pip install django pip install djangorestframework pip install nltk # maybe not necessary pip install numpy pip install scipy pip install scikit-learn # sync and build article database python manage.py syncdb python manage.py topics2db <topics.txt> python manage.py xml2db <articles.xml> python manage.py mapping2db <article_topics.txt> python manage.py okapibm25 python manage.py linrel # run testing webserver python manage.py runserver # go to 127.0.0.1:8000