Google App Engine tips

Download and install Google App Engine SDK

$ unzip
$ export PATH=$PATH:/path/to/google_appengine/

Skeleton of example application

Create a test server in your machine:

$ appengine-try-python-flask

In your browser:

To manage it:

or --host option to launch server in other IP than localhost:

$ --host= appengine-try-python-flask
INFO 2016-05-01 16:14:56,073] Checking for updates to the SDK.
INFO 2016-05-01 16:14:56,430] Starting API server at: http://localhost:41286
INFO 2016-05-01 16:14:56,453] Starting module "default" running at:
INFO 2016-05-01 16:14:56,454] Starting admin server at: http://localhost:8000

Upload the example app: [options] update <app-directory>|<files...>

$ -A vicente-hernando update appengine-try-python-flask

You can visit it with your browser:

Download source code from a running application in Google App Engine

If you have lost the source code of your application, you cand download it from Google App Engine (if you can authenticate) by using appcfg tool.

appcfg tool download_app -A <app_id> -V <version> <output-dir>

Your app_id is necessary. You can found it in

version is optional.

$ -A my-cdn download_app my-cdn