aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--documentation/deployment.rst2
-rwxr-xr-xinstall.sh4
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
bgstack15