Commit 4fcd018b authored by Cédric Bonhomme's avatar Cédric Bonhomme

Added installation script (with virtualenv).

parent ab5c887f
#!/bin/bash
# Installation of MongoDB
sudo apt-get install -y mongodb-server
sudo service mongodb start
# Python dependencies
sudo apt-get install -y python-pip
pip install --user virtualenv
virtualenv --no-site-packages ./env_EPC_Information_Service
source ./env_EPC_Information_Service/bin/activate
pip install --upgrade -r requirements.txt
# Configuration
cp conf/conf.cfg-sample conf/conf.cfg
# Launch the server
python runserver.py
deactivate
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment