aboutsummaryrefslogtreecommitdiff
path: root/install.sh
blob: 77bdce40a956e313d33b5c401d28792c01456bf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

# Installation of MongoDB
if ! dpkg -s mongodb-server | grep -i 'status' | grep -i 'installed' > /dev/null ; then
    sudo apt-get install -y mongodb-server
    sudo service mongodb start
fi

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
deactivate

cp conf/conf.cfg-sample conf/conf.cfg
bgstack15