diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-03-24 21:16:01 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-03-24 21:16:01 +0100 |
commit | d75d8f6783aad6f52e7c6db00b0f58b3187acced (patch) | |
tree | d405921b3c62c77894cd1a88cf7991e7ea6fe20b /documentation/deployment.rst | |
parent | The manual retrieving of news is solely available for administrator, on the H... (diff) | |
download | newspipe-d75d8f6783aad6f52e7c6db00b0f58b3187acced.tar.gz newspipe-d75d8f6783aad6f52e7c6db00b0f58b3187acced.tar.bz2 newspipe-d75d8f6783aad6f52e7c6db00b0f58b3187acced.zip |
Added a script to install pyAggr3g470r on a server.
Diffstat (limited to 'documentation/deployment.rst')
-rw-r--r-- | documentation/deployment.rst | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/documentation/deployment.rst b/documentation/deployment.rst index 3aedbb60..6d1b119c 100644 --- a/documentation/deployment.rst +++ b/documentation/deployment.rst @@ -81,12 +81,9 @@ Deploying the application on a traditional server .. code-block:: bash - $ sudo apt-get install python libpq-dev python-dev python-pip build-essential git - $ sudo apt-get install libxml2-dev libxslt1-dev # for lxml $ git clone https://bitbucket.org/cedricbonhomme/pyaggr3g470r.git $ cd pyaggr3g470r - $ sudo pip install --upgrade -r requirements.txt - $ cp conf/conf.cfg-sample conf/conf.cfg + $ ./install.sh If you want to use PostgreSQL ''''''''''''''''''''''''''''' @@ -94,6 +91,7 @@ If you want to use PostgreSQL .. code-block:: bash $ sudo apt-get install postgresql postgresql-server-dev-9.3 postgresql-client + $ sudo pip install psycopg2 $ echo "127.0.0.1:5432:aggregator:pgsqluser:pgsqlpwd" > ~/.pgpass $ chmod 700 ~/.pgpass $ sudo -u postgres createuser pgsqluser --no-superuser --createdb --no-createrole |