added app run. Now necessary to launch with python server.py

master
assar 8 years ago
parent 10adc15885
commit 9f6937296b

@ -30,3 +30,4 @@ if __name__ == '__main__':
with open('admin.json') as f: with open('admin.json') as f:
postgres_credentials = json.load(f) postgres_credentials = json.load(f)
db_engine, db_metadata = connect(postgres_credentials['username'], postgres_credentials['password'], 'parts') db_engine, db_metadata = connect(postgres_credentials['username'], postgres_credentials['password'], 'parts')
app.run('0.0.0.0')

Loading…
Cancel
Save