aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/install.sh b/install.sh
new file mode 100755
index 00000000..77bdce40
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,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