Hello World from OSS Silicon Valley


HowToUse/Python/2.7/GoogleAppEngine/1.9


_ Prerequisite

_ Install&Setup

Step.1
Install GoogleAppEngine SDK.

_ HowToUse

_ Create application

Step.1
Create app.yaml
$ mkdir <project directory>
$ cd <project directory>
$ vi app.yaml

You can refer sample here

Step.2
Create main.py
$ vi main.py

You can refer sample here

Step.3
Launch instance.
$ dev_appserver.py .

Then you can see the sample web site from http://localhost:8080

_ Deploy application to Google App Engine

Step.1
Accessconsole site to register application.
DeployApp_fig1.png
Step.2
Click "Google Developers Console" link.
DeployApp_fig2.png
Step.3
Click "Create project" button, and determine application ID.
Step.4
Update "application" in app.yaml to the same string of application ID, and execute the following command.
$ appcfg.py update .

Then the application is deployed and you can access from [http://<application ID>.appspot.com].

_ Author

S.Yatsuzuka