From e726aa1f137004d9c45bbc7cd2e3dda45d92c3db Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 29 Mar 2020 00:18:00 +0100 Subject: set DEBUG to True also when SQLite is used. --- README.md | 4 ++-- instance/sqlite.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 48817181..bdc92fd5 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit