first commit
This commit is contained in:
7
run_waitress.py
Normal file
7
run_waitress.py
Normal file
@ -0,0 +1,7 @@
|
||||
from app import app, db
|
||||
from waitress import serve
|
||||
|
||||
if __name__ == '__main__':
|
||||
with app.app_context():
|
||||
db.create_all()
|
||||
serve(app, host='0.0.0.0', port=8080)
|
Reference in New Issue
Block a user