diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-03-29 00:18:00 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-03-29 00:18:00 +0100 |
commit | e726aa1f137004d9c45bbc7cd2e3dda45d92c3db (patch) | |
tree | 73e2d67abf96695bf41da24c8ba26948cfac4b81 | |
parent | DEBUG set to False by default. (diff) | |
download | newspipe-e726aa1f137004d9c45bbc7cd2e3dda45d92c3db.tar.gz newspipe-e726aa1f137004d9c45bbc7cd2e3dda45d92c3db.tar.bz2 newspipe-e726aa1f137004d9c45bbc7cd2e3dda45d92c3db.zip |
set DEBUG to True also when SQLite is used.
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | instance/sqlite.py | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -61,11 +61,11 @@ $ python runserver.py ``` If you want to use PostgreSQL you can customize -the provided example configuration file (``instance/production.py``): +the provided example configuration file (``instance/config.py``): ```bash $ sudo apt-get install postgresql -$ cp instance/production.py instance/postgresql.py +$ cp instance/config.py instance/postgresql.py $ vim instance/postgresql.py # customize it $ export Newspipe_CONFIG=postgresql.py ``` diff --git a/instance/sqlite.py b/instance/sqlite.py index 0407ca1b..18b906dd 100644 --- a/instance/sqlite.py +++ b/instance/sqlite.py @@ -7,7 +7,7 @@ import os # Webserver HOST = "0.0.0.0" PORT = 5000 -DEBUG = False +DEBUG = True API_ROOT = "/api/v2.0" CSRF_ENABLED = True |