Skip to content

Google App Engine Python アプリケーションの骨組。

Notifications You must be signed in to change notification settings

sonicjam/appengine-python-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

appengine-python-skeleton

Google App Engine Python アプリケーションの骨組。

準備

  1. Google Cloud SDK をインストール:
curl https://sdk.cloud.google.com | bash

インストール後、SDK の PATH が通った状態にしておく。

  1. App Engine SDK for Python を追加インストール:
gcloud components install app-engine-python
  1. PyPI から必要な Python パッケージを ./lib ディレクトリにインストール:
pip install -t ./lib -r ./requirements.txt

開発

  1. 開発サーバーの起動:
dev_appserver.py ./

次の URL から確認:

  1. 単体テストの実行:
GAE_SDK_PATH=/path/to/google-cloud-sdk/platform/google_appengine python ./test/runner.py
  • App Engine SDK for Python の PATH が /path/to/google-cloud-sdk/platform/google_appengine の場合
  • 出力は TAP

メンテナ

Yu Inao <yu.inao@sonicjam.co.jp>

License

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to <http://unlicense.org/>

About

Google App Engine Python アプリケーションの骨組。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages