diff options
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,11 +1,10 @@ #!/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 mongodb-server +sudo service mongodb start +# Python dependencies sudo apt-get install -y python-pip pip install --user virtualenv virtualenv --no-site-packages ./env_pyAggr3g470r @@ -13,4 +12,6 @@ source ./env_pyAggr3g470r/bin/activate pip install --upgrade -r requirements.txt deactivate +# Configuration cp conf/conf.cfg-sample conf/conf.cfg +python initialization.py pyaggr3g470r firstname lastname firstname.lastname@gmail.com secret |