diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2014-04-23 08:08:46 +0200 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2014-04-23 08:08:46 +0200 |
commit | cc6fddee3a52dc33b4cc967f5ae44b2cba273f29 (patch) | |
tree | 3983c139c51ef51ef105b72b1c6322843239d68a | |
parent | Now tested with PostgreSQL 9.3. (diff) | |
download | newspipe-cc6fddee3a52dc33b4cc967f5ae44b2cba273f29.tar.gz newspipe-cc6fddee3a52dc33b4cc967f5ae44b2cba273f29.tar.bz2 newspipe-cc6fddee3a52dc33b4cc967f5ae44b2cba273f29.zip |
Updated README.
-rw-r--r-- | README.rst | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -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 |