Replace: Stage to Test
This commit is contained in:
parent
bce2237303
commit
0a3ab090a6
3 changed files with 8 additions and 10 deletions
|
|
@ -1,9 +1,8 @@
|
|||
from application import create_app
|
||||
import os
|
||||
|
||||
app = create_app()
|
||||
app = create_app(os.environ.get('FLASK_ENV', None))
|
||||
|
||||
if __name__ == "__main__":
|
||||
PORT = os.environ.get('PORT', 33507)
|
||||
print('app.run')
|
||||
app.run(host='0.0.0.0', port=PORT, DEBUG=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue