Howto: Create a HelloWorld Google Apps Engine appliction

Make sure you have downloaded the Google Apps Engine SDK before starting.

Creating a Simple Request Handler


print 'Content-Type: text/plain'
print ''
print 'Hello, world!'

Cr

eating the Configuration File


application: helloworld
version: 1
runtime: python
api_version: 1

handlers:
- url: /.*
  script: helloworld.py

Testing the Application

google_appengine/dev_appserver.py helloworld/

Test the application is running at http://localhost:8080/ [localhost:8080]

Resources

Tags:
Source:
0043hrs.txt
Published:
20-04-2012 00:43