aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2014-04-23 08:08:46 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2014-04-23 08:08:46 +0200
commitcc6fddee3a52dc33b4cc967f5ae44b2cba273f29 (patch)
tree3983c139c51ef51ef105b72b1c6322843239d68a
parentNow tested with PostgreSQL 9.3. (diff)
downloadnewspipe-cc6fddee3a52dc33b4cc967f5ae44b2cba273f29.tar.gz
newspipe-cc6fddee3a52dc33b4cc967f5ae44b2cba273f29.tar.bz2
newspipe-cc6fddee3a52dc33b4cc967f5ae44b2cba273f29.zip
Updated README.
-rw-r--r--README.rst16
1 files changed, 14 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index b67e7419..eb4c9c88 100644
--- a/README.rst
+++ b/README.rst
@@ -59,7 +59,8 @@ Deploying the application on a traditional server
$ sudo pip install --upgrade -r requirements.txt
$ cp conf/conf.cfg-sample conf/conf.cfg
-If you want to use PostgreSQL:
+If you want to use PostgreSQL
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code:: bash
@@ -75,13 +76,24 @@ If you want to use PostgreSQL:
postgres=# GRANT ALL PRIVILEGES ON DATABASE pyAggr3g470r TO username;
postgres=# \q
-If you want to use SQLite, just edit the configuration file with the line:
+Edit the configuration file with the line:
+
+.. code:: cfg
+
+ [database]
+ uri = uri = postgres://username:password@127.0.0.1:5433/pyAggr3g470r
+
+If you want to use SQLite
+~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Just edit the configuration file with the line:
.. code:: cfg
[database]
uri = sqlite+pysqlite:///pyAggr3g470r.db
+
Finally:
.. code:: bash
bgstack15