diff --git a/.travis.yml b/.travis.yml index ee5902549..2c9b98abd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ before_install: - sudo make install - cd .. install: - - pip install -r requirements.txt + - pip install -r requirements/local.txt script: - python cuckoo.py --debug --test - nosetests diff --git a/requirements.txt b/requirements/base.txt similarity index 92% rename from requirements.txt rename to requirements/base.txt index aba386d41..1c67b3856 100644 --- a/requirements.txt +++ b/requirements/base.txt @@ -10,3 +10,4 @@ nose jsbeautifier pygal dnspython +unipath diff --git a/requirements/local.txt b/requirements/local.txt new file mode 100644 index 000000000..2031a0db3 --- /dev/null +++ b/requirements/local.txt @@ -0,0 +1,4 @@ +-r base.txt +Werkzeug +django-extensions +django-debug-toolbar diff --git a/requirements/production.txt b/requirements/production.txt new file mode 100644 index 000000000..996b2fa8f --- /dev/null +++ b/requirements/production.txt @@ -0,0 +1,2 @@ +-r base.txt +gunicorn diff --git a/web/manage.py b/web/manage.py index 81232ff99..f2c980540 100755 --- a/web/manage.py +++ b/web/manage.py @@ -7,7 +7,7 @@ import sys if __name__ == "__main__": - os.environ.setdefault("DJANGO_SETTINGS_MODULE", "web.settings") + os.environ.setdefault("DJANGO_SETTINGS_MODULE", "web.settings.production") from django.core.management import execute_from_command_line diff --git a/web/templates/analysis/index.html b/web/templates/analysis/index.html index 9e3316198..b95f0d5eb 100644 --- a/web/templates/analysis/index.html +++ b/web/templates/analysis/index.html @@ -1,6 +1,7 @@ {% extends "base.html" %} +{% load staticfiles %} {% block content %} -

+