diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2013-12-07 14:33:52 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2013-12-07 14:33:52 +0100 |
commit | b67c0edd5c69e494bf479b5f4580d78ffd668864 (patch) | |
tree | 9e6dde374fa8242b28c30e64bdd120539f5a5fcc | |
parent | Updated README. (diff) | |
download | newspipe-b67c0edd5c69e494bf479b5f4580d78ffd668864.tar.gz newspipe-b67c0edd5c69e494bf479b5f4580d78ffd668864.tar.bz2 newspipe-b67c0edd5c69e494bf479b5f4580d78ffd668864.zip |
Updated installation process.
-rw-r--r-- | conf/conf.cfg-sample | 2 | ||||
-rwxr-xr-x | install.sh | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/conf/conf.cfg-sample b/conf/conf.cfg-sample index a830996e..3c492490 100644 --- a/conf/conf.cfg-sample +++ b/conf/conf.cfg-sample @@ -1,5 +1,5 @@ [database] -name = pyaggr3g470r1 +name = pyaggr3g470r address = 127.0.0.1 port = 27017 username = root @@ -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 |