How to export to Google App Engine (GAE)
[edit]How to Export Web2py and Your Application to Google App Engine
==============================================================
Written by Jonathan Benn
Here's a step-by-step guide:
- Download the source code version of Google App Engine SDK:
http://googleappengine.googlecode.com/files/google_appengine_1.1.5.zip
- Download the source code version of web2py:
http://mdp.cti.depaul.edu/examples/static/web2py_src.zip
- Unzip GAE and web2py. You end up with a
google_appenginedirectory,
and a web2py directory.
Place
web2pyinsidegoogle_appengine.Edit
google_appengine/web2py/app.yaml. In the top line, changeweb2py
to whatever application name you set up when you signed up for Google App Engine.
Open up a command prompt. Go to the
google_appenginedirectory.a. To run the demo app server, execute the command:
dev_appserver.py web2py/or
python dev_appserver.py web2py/b. To upload your application to the real online server, execute the
command:
`appcfg.py update web2py/`
**or**
`python appcfg.py update web2py/`