aboutsummaryrefslogtreecommitdiff
path: root/install.sh
blob: 8d62a0b652501ad3d7dd2f5a1d03854fc2e3f217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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