Reputation: 31
I am new to GCP App engine. I am trying to make web server using flask on App engine. I tested the version of my code on localhost and it is working fine. But when I am trying to deploy it in the App Engine of GCP it is giving me this strange error "app logs". error logs
Here is my code for the flask
app.run(threaded = True, host='127.0.0.1', port=80)
Thanks!!
Upvotes: 2
Views: 143
Reputation: 21520
You don't need to call app.run()
in your main.py
file -- App Engine will do that for you. Simply initialize the app
variable in this file instead.
Upvotes: 3