1 Copyright 2008 Google Inc.
4 App Engine SDK - Development tools for Google App Engine
9 * Installing on Mac OSX
10 * Installing on Windows
11 * Installing on Linux and other platforms
14 * Using the App Engine Launcher
19 1) Download and install Python 2.5 from http://www.python.org/download/
20 2) Download the SDK installer from http://code.google.com/appengine/downloads
21 3) Install the SDK by double-clicking on the GoogleAppEngine.dmg file and
22 running the installer.
27 1) Download and install Python 2.5 from http://www.python.org/download/
28 2) Download the SDK installer from http://code.google.com/appengine/downloads
29 3) Install the SDK by double-clicking on the GoogleAppEngine.msi file and
30 running the installer.
33 INSTALLING ON LINUX AND OTHER PLATFORMS
34 ===============================
35 1) Download and install Python 2.5 from http://www.python.org/download/
36 2) Download the SDK zip file from http://code.google.com/appengine/downloads
37 3) Unpack the zip file.
41 =========================
42 You can run the SDK with the following command:
44 dev_appserver.py [options] <application root>
46 Application root must be the path to the application to run in this server.
47 Must contain a valid app.yaml or app.yml file.
50 --address=ADDRESS, -a ADDRESS
51 Address to which this server should bind. (Default
53 --clear_datastore, -c Clear the Datastore on startup. (Default false)
54 --debug, -d Use debug logging. (Default false)
55 --help, -h View this helpful message.
56 --port=PORT, -p PORT Port for the server to run on. (Default 8080)
58 --allow_skipped_files Allow access to files matched by app.yaml's
59 skipped_files (default False)
60 --auth_domain Authorization domain that this app runs in.
62 --backends Run the dev_appserver with backends support
64 --blobstore_path=DIR Path to directory to use for storing Blobstore
66 --clear_prospective_search Clear the Prospective Search subscription index
68 --datastore_path=DS_FILE Path to file to use for storing Datastore file
70 (Default /tmp/dev_appserver.datastore)
71 --debug_imports Enables debug logging for module imports, showing
72 search paths used for finding modules and any
73 errors encountered during the import process.
74 --default_partition Default partition to use in the APPLICATION_ID.
76 --disable_static_caching Never allow the browser to cache static files.
77 (Default enable if expiration set in app.yaml)
78 --disable_task_running When supplied, tasks will not be automatically
79 run after submission and must be run manually
80 in the local admin console.
81 --enable_sendmail Enable sendmail when SMTP not configured.
83 --high_replication Use the high replication datastore consistency
84 model. (Default false).
85 --history_path=PATH Path to use for storing Datastore history.
86 (Default /tmp/dev_appserver.datastore.history)
87 --multiprocess_min_port When running in multiprocess mode, specifies the
88 lowest port value to use when choosing ports. If
89 set to 0, select random ports.
91 --mysql_host=HOSTNAME MySQL database host that the rdbms API will use.
93 --mysql_port=PORT MySQL port to connect to.
95 --mysql_user=USER MySQL user to connect as.
97 --mysql_password=PASSWORD MySQL password to use.
99 --mysql_socket=PATH MySQL Unix socket file path.
100 (Default '%(mysql_socket)s')
101 --require_indexes Disallows queries that require composite indexes
102 not defined in index.yaml.
103 --show_mail_body Log the body of emails in mail stub.
105 --skip_sdk_update_check Skip checking for SDK updates. If false, fall back
106 to opt_in setting specified in .appcfg_nag
108 --smtp_host=HOSTNAME SMTP host to send test mail to. Leaving this
109 unset will disable SMTP mail sending.
111 --smtp_port=PORT SMTP port to send test mail to.
113 --smtp_user=USER SMTP user to connect as. Stub will only attempt
114 to login if this field is non-empty.
116 --smtp_password=PASSWORD Password for SMTP server.
118 --task_retry_seconds How long to wait in seconds before retrying a
119 task after it fails during execution.
121 --use_sqlite Use the new, SQLite based datastore stub.
127 =======================
128 For instructions on getting started with Google App Engine, please see the
129 Google App Engine Getting Started Guide
131 http://code.google.com/appengine/docs/gettingstarted
134 USING THE APP ENGINE LAUNCHER
135 =============================
136 The Windows and Mac OSX Python SDKs include an additional development tool
137 called the App Engine Launcher. This tool provides a simple graphical
138 interface to create projects, run them locally, and deploy them to Google's App
139 Engine servers. It can be used in place of the dev_appserver and appcfg
142 The Windows SDK can optionally install a desktop short-cut during
143 installation. If you are missing the short-cut, you can find the launcher in
144 the launcher subdirectory of your App Engine installation. The default
146 C:\Program Files\Google\google_appengine\launcher\GoogleAppEngineLauncher.exe
148 In Mac OSX, the Launcher is installed by dragging it out of the .dmg to a
149 location specified by the user. The Launcher contains the SDK inside of it.
150 A typical drag-install destination for the Launcher and SDK is
151 /Applications/GoogleAppEngineLauncher.app