Google App Engine : Hello World
http://code.google.com/intl/ja/appengine/docs/python/gettingstarted/helloworld.html
このまま書いたら動きました。
ディレクトリ apps に app.yamlと helloworld.py を作成
Google App Engine Launcherを起動
File » Create New Application
Application name : hello world
parent directory : ファイルを作成した場所apps
でcreateすると
helloworldディレクトリ、中に、index.yaml,app.yaml,main.pyが作成されていました。
main.pyにはwebapp フレームワークを利用したhello worldが書かれています。
ちょっとhello worldを書き換えて
26行目あたりを
def get(self):
self.response.out.write(‘Hello world! bbtune’)
としてみるとちゃんとbbtuneと表示されます。
.データ保存して
http://code.google.com/intl/ja/appengine/docs/python/gettingstarted/usingdatastore.html
.テンプレート使って
http://code.google.com/intl/ja/appengine/docs/python/gettingstarted/templates.html
.静的コンテンツでcssも使えました^-^。
ここで注意点が!!!
注: App Engine にアップロードしたアプリケーションを削除する手段は提供されていません。1 つの Google アカウントで、最大 10 個のアプリケーション ID を登録できます。この内 1 つをチュートリアルで消費したくない場合、このセクションは読むだけにし、最初のアプリケーションをアップロードする準備ができたときに参照してください。
ということでチュートリアルは登録しないようにと。
* と書いてありますが、すでに削除機能があるようです。
簡単に使えそうですね!