From cc6fddee3a52dc33b4cc967f5ae44b2cba273f29 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 23 Apr 2014 08:08:46 +0200 Subject: Updated README. --- README.rst | 16 ++++++++++++++-- 1 file 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 -- cgit