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 /install.sh | |
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 'install.sh')
-rw-r--r-- | install.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/install.sh b/install.sh new file mode 100644 index 00000000..8d62a0b6 --- /dev/null +++ b/install.sh @@ -0,0 +1,16 @@ +#! /usr/bin/env sh + +# +# This script install all dependencies for pyAggr3g470r. +# psycopg2 is removed from the requirements.txt file since it is only required +# if the user wants to use Postgres. Postgres is generally used on the Heroku +# platform. +# + +sudo apt-get install python libpq-dev python-dev python-pip build-essential git +sudo apt-get install libxml2-dev libxslt1-dev # for lxml + +sed -i '/psycopg2/d' requirements.txt +sudo pip install --upgrade -r requirements.txt + +cp conf/conf.cfg-sample conf/conf.cfg |