fili / webapp2-gae-python37

webapp2 on Google App Engine Standard Python 3.7 example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webapp2 on Google App Engine Standard Python 3.7

Create a new virtual environment:

virtualenv -p python3.7 env

To activate the environment:

source env/bin/activate

Then run:

pip install -r requirements.txt

Afterwards, to run the webserver:

python main.py

To test with gcloud SDK, first get out of the virtual environment:

deactivate

Then run the gcloud SDK shortcut to set up a temporary local GAE instance supporting Python 3.7:

dev_appserver.py app.yaml

Author

About

webapp2 on Google App Engine Standard Python 3.7 example


Languages

Language:Python 100.0%