From 1a4a12081f9a55a851cbfcb0a0f171450c9873ce Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Thu, 26 Mar 2015 07:28:03 +0100 Subject: Renamed a parameter of the install.sh script. --- documentation/deployment.rst | 2 +- install.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/deployment.rst b/documentation/deployment.rst index 158eda7d..0402afd3 100644 --- a/documentation/deployment.rst +++ b/documentation/deployment.rst @@ -88,7 +88,7 @@ If you want to use PostgreSQL ''''''''''''''''''''''''''''' .. code-block:: bash - $ ./install.sh postgre + $ ./install.sh postgres If you want to use SQLite ''''''''''''''''''''''''' diff --git a/install.sh b/install.sh index 09144fe1..101e388c 100755 --- a/install.sh +++ b/install.sh @@ -18,7 +18,7 @@ cp conf/conf.cfg-sample conf/conf.cfg sed -i '/database/d' conf/conf.cfg sed -i '/uri/d' conf/conf.cfg -if [ "$1" == postgre ]; then +if [ "$1" == postgres ]; then sudo apt-get install -y postgresql postgresql-server-dev-9.3 postgresql-client sudo pip install psycopg2 echo "127.0.0.1:5432:aggregator:pgsqluser:pgsqlpwd" > ~/.pgpass @@ -39,4 +39,4 @@ elif [ "$1" == sqlite ]; then fi python manager.py db_empty -python manager.py db_create \ No newline at end of file +python manager.py db_create -- cgit