From 771b091626865527eee9813b7594af93daa51b10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 5 Apr 2016 17:38:11 +0200 Subject: [PATCH] Use config when running devserver --- pillar/manage.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pillar/manage.py b/pillar/manage.py index 8e46c7b3..ffcf89d0 100755 --- a/pillar/manage.py +++ b/pillar/manage.py @@ -43,7 +43,9 @@ def runserver(): if not os.path.exists(app.config['STORAGE_DIR']): os.makedirs(app.config['STORAGE_DIR']) - app.run() + app.run(host=app.config['HOST'], + port=app.config['PORT'], + debug=app.config['DEBUG']) def post_item(entry, data):