aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/install.sh b/install.sh
new file mode 100644
index 00000000..8d62a0b6
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,16 @@
+#! /usr/bin/env sh
+
+#
+# This script install all dependencies for pyAggr3g470r.
+# psycopg2 is removed from the requirements.txt file since it is only required
+# if the user wants to use Postgres. Postgres is generally used on the Heroku
+# platform.
+#
+
+sudo apt-get install python libpq-dev python-dev python-pip build-essential git
+sudo apt-get install libxml2-dev libxslt1-dev # for lxml
+
+sed -i '/psycopg2/d' requirements.txt
+sudo pip install --upgrade -r requirements.txt
+
+cp conf/conf.cfg-sample conf/conf.cfg
bgstack15