Google App Engineを始める。
googleより、下記メールが届いた。
Hello,
Thanks for signing up to try Google App Engine! Your account has been activated, so you can begin building applications!
To start creating applications with Google App Engine, simply follow this link (you may need to sign in with your
******@gmail.com Google Account):Thanks!
The Google App Engine Team
早速、Google App Engineを試してみようと思い、PythonとApp Engine SDKをインストールする。
Google App Engine詳解:さっそくHello Worldから作ってみたを参考にしながら、作業を進めた。
が、
C:\src\googleAppEngine>dev_appserver.py builder-example1/ ERROR 2008-05-13 13:36:09,404 dev_appserver_main.py] Fatal error when loading application configuration:
とエラーがでてうまくいかない。
早速googleで検索。
Google App Engine - アラッポ・カーロの備忘録でエラーについて記述があったので、参考にして動かしました。
C:\src\googleAppEngine>dev_appserver.py builder-example1/ INFO 2008-05-13 13:44:34,542 appcfg.py] Server: appengine.google.com Allow dev_appserver to check for updates on startup? (Y/n):
と訪ねられたので、意味も調べず、yを入力
dev_appserver will check for updates on startup. To change this setting, edit C :\Documents and Settings\***/.appcfg_nag INFO 2008-05-13 13:45:12,404 appcfg.py] Checking for updates to the SDK. INFO 2008-05-13 13:45:15,888 appcfg.py] Update check failed: <urlopen error timed out> WARNING 2008-05-13 13:45:15,888 datastore_file_stub.py] Could not read datastor e data from c:\docume~1\****\locals~1\temp\dev_appserver.datastore WARNING 2008-05-13 13:45:15,888 datastore_file_stub.py] Could not read datastor e data from c:\docume~1\*****\locals~1\temp\dev_appserver.datastore.history INFO 2008-05-13 13:45:16,013 dev_appserver_main.py] Running application buil der-example1 on port 8080: http://localhost:8080
と表示されたので、http://localhost:8080に接続。
無事、Hello, Worldが表示されました。
コマンドプロントはそのまま×で終了。
その後、http://localhost:8080に接続すると、NotFoundになっていました。
公開はPythonをある程度覚えてからにしよう。