This commit is contained in:
jar3b
2016-03-12 20:14:28 +03:00
parent 19d80f5811
commit ad70ef7742
5 changed files with 28 additions and 12 deletions

View File

@@ -9,8 +9,8 @@ except ImportError:
assert "No config"
# Define main app
application = phias.App()
application = phias.App("pyphias.log")
# Run bottle WSGI server if no external
if __name__ == '__main__':
application.start('0.0.0.0', 8087)
application.start(host='0.0.0.0', port=8087, debug=True)