py4web - Deployment on GCloud (aka Google App Engine)

42 views
Skip to first unread message

Andrew W

unread,
Apr 12, 2020, 6:38:35 PM4/12/20
to web2py-users
Hi all,
Not a question but a tip for others experimenting with py4web on GCP App Engine.

Following the instructions in the _documentation, after a few failed attempts to access my app (with 502 and 404 errors), I modified the deploy command in the Makefile by adding the --promote flag to make it :

gcloud app deploy app.yaml --promote


I'm ready to build out my first py4web app !

Might be worth adding this to the script and/or documentation.


Regards

Andrew W



Jacinto Parga

unread,
Apr 16, 2020, 6:43:46 PM4/16/20
to web2py-users
Hi Andrew,

How did you connect with Datastore. I mean, how did you configure db in settings.py?

Thanks 

Andrew Willimott

unread,
Apr 17, 2020, 4:47:26 AM4/17/20
to web2py-users
Hi Jacinto,
I haven't got to the db stage yet, just a simple Hello World to get py4web working.  I'll post when I get there.
Reply all
Reply to author
Forward
0 new messages