Monday, November 23, 2009

Google App Engine

http://code.google.com/intl/zh-TW/appengine/
http://code.google.com/intl/zh-TW/appengine/downloads.html
http://code.google.com/intl/zh-TW/appengine/docs/python/gettingstarted/uploading.html

Google host a server to run your web program, using python.

1. Apply your account
2. Download SDK
3. Upload sample (demos/guestbook)

3.1Modify application name in appl.yaml
3.2appcfg.py update demos/guestbook




[Note] To upload some static files, say test.html, add following to config file...
- url: /test.html
static_files: test.html
upload: test.html

[Note] To run it locally:
$ ./devserver.py demos/guestbook

[Note]
$ ./appcfg.py download_app
Usage: appcfg.py [options] download_app -A app_id [ -V version ]

No comments:

Related Posts Plugin for WordPress, Blogger...