From 9f6937296b9d85625856db208532ab08537ef4d7 Mon Sep 17 00:00:00 2001 From: assar Date: Fri, 2 Jun 2017 10:36:39 +0000 Subject: [PATCH] added app run. Now necessary to launch with python server.py --- server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server.py b/server.py index 511ddac..eac9afa 100644 --- a/server.py +++ b/server.py @@ -30,3 +30,4 @@ if __name__ == '__main__': with open('admin.json') as f: postgres_credentials = json.load(f) db_engine, db_metadata = connect(postgres_credentials['username'], postgres_credentials['password'], 'parts') + app.run('0.0.0.0')