aboutsummaryrefslogtreecommitdiff
path: root/install.sh
blob: 4789066f66bb8f6d49024c2db5c05ea95c01d873 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

# Installation of PostgreSQL
sudo apt-get install postgresql postgresql-server-dev-9.1 postgresql-client

# Python dependencies
sudo apt-get install -y python-pip
pip install --user virtualenv
virtualenv --no-site-packages ./env_pyAggr3g470r
source ./env_pyAggr3g470r/bin/activate
pip install --upgrade -r requirements.txt

# Configuration
cp conf/conf.cfg-sample conf/conf.cfg
python db_create.py

# Launch pyAggr3g470r
python runserver.py

deactivate
bgstack15