Reputation: 60
I have a Flask-restful API(micro-service)
written in python 2.7 using Google Cloud STANDARD environment, and dev_appserver.py(gcloud sdk)
helps to run it locally.
Now, I plan to do three things:
dev_appserver.py
Upvotes: 0
Views: 287
Reputation: 18376
There are a lot of differences between the environments. A lot of methods and libs from standard won't work in flex.
See here for more info:
You can't use dev_appserver.py
in flex environment. You will need to run Flask the regular way. e.g (locally) FLASK_APP=main.py FLASK_DEBUG=1 python -m flask run --port 8080
Upvotes: 1