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 %}
-
+
- Files
@@ -100,7 +101,7 @@ Recent Files
{% endif %}
{% if analysis.malscore != None %}
- Recent URLs
{% endif %}
|
{% if analysis.malscore != None %}
-
+{% load staticfiles %}
+
TCP
{% if analysis.network.tcp %}
@@ -33,7 +34,7 @@ TCP
var $section = $(this).closest("section");
$section.find("table tr.connrow").removeClass("row-active");
- $(this).addClass("row-active");
+ $(this).addClass("row-active");
var choice = $(this).closest('tr').attr('data');
@@ -49,7 +50,7 @@ TCP
var tuple = p.src + ":" + p.sport + " → " + p.dst + ":" + p.dport;
if (first == undefined) first = tuple;
- if (first != tuple) {
+ if (first != tuple) {
tcpclass = "tcp-in";
icon = "";
} else {
diff --git a/web/templates/analysis/network/_udp.html b/web/templates/analysis/network/_udp.html
index 77f802e29..fef39c02e 100644
--- a/web/templates/analysis/network/_udp.html
+++ b/web/templates/analysis/network/_udp.html
@@ -1,4 +1,5 @@
-
+{% load staticfiles %}
+
UDP
{% if analysis.network.udp %}
diff --git a/web/templates/analysis/pending.html b/web/templates/analysis/pending.html
index ce5949499..cb1b64220 100644
--- a/web/templates/analysis/pending.html
+++ b/web/templates/analysis/pending.html
@@ -1,6 +1,7 @@
{% extends "base.html" %}
+{% load staticfiles %}
{% block content %}
-
+
diff --git a/web/templates/analysis/report.html b/web/templates/analysis/report.html
index 489baa3f9..3b4c5f496 100644
--- a/web/templates/analysis/report.html
+++ b/web/templates/analysis/report.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+{% load staticfiles %}
{% block content %}
-
+
{% if analysis.info.category == "file" and analysis.target %}
{% endif %}
diff --git a/web/templates/analysis/search.html b/web/templates/analysis/search.html
index bf54e6f13..b4c7cc257 100644
--- a/web/templates/analysis/search.html
+++ b/web/templates/analysis/search.html
@@ -1,8 +1,9 @@
{% extends "base.html" %}
+{% load staticfiles %}
{% block content %}
-
+
|