aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2013-12-07 14:33:52 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2013-12-07 14:33:52 +0100
commitb67c0edd5c69e494bf479b5f4580d78ffd668864 (patch)
tree9e6dde374fa8242b28c30e64bdd120539f5a5fcc /install.sh
parentUpdated README. (diff)
downloadnewspipe-b67c0edd5c69e494bf479b5f4580d78ffd668864.tar.gz
newspipe-b67c0edd5c69e494bf479b5f4580d78ffd668864.tar.bz2
newspipe-b67c0edd5c69e494bf479b5f4580d78ffd668864.zip
Updated installation process.
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/install.sh b/install.sh
index 77bdce40..7b892abd 100755
--- a/install.sh
+++ b/install.sh
@@ -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
bgstack15