Skip to content

Commit 33f8e29

Browse files
author
Ubuntu
committed
changes for remote
1 parent 0d9b9d8 commit 33f8e29

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

hackathon.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///test.db'
1010
db = SQLAlchemy(app)
1111
admin = Admin(app, name='pingins', template_mode='bootstrap3')
12+
app.secret_key='daahackathon'
1213

1314
class User(db.Model):
1415
id = db.Column(db.Integer, primary_key=True)
@@ -27,4 +28,4 @@ class User(db.Model):
2728
api_manager.create_api(User, methods=['GET', 'POST', 'DELETE', 'PUT'])
2829

2930
if __name__ == "__main__":
30-
app.run()
31+
app.run('0.0.0.0', port=80)

test.db

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)