Skip to content

Commit 0ffd964

Browse files
committed
README 更新
1 parent 1b34cec commit 0ffd964

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

README.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Google App Engine Python アプリケーションの骨組。
66
準備
77
----
88

9-
Google Cloud SDK をインストール:
9+
1) Google Cloud SDK をインストール:
1010

1111
```
1212
curl https://sdk.cloud.google.com | bash
@@ -16,7 +16,13 @@ curl https://sdk.cloud.google.com | bash
1616

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

19-
PyPI から必要な Python パッケージを `./lib` ディレクトリにインストール:
19+
2) App Engine SDK for Python を追加インストール:
20+
21+
```
22+
gcloud components install app-engine-python
23+
```
24+
25+
3) PyPI から必要な Python パッケージを `./lib` ディレクトリにインストール:
2026

2127
```
2228
pip install -t ./lib -r ./requirements.txt
@@ -26,23 +32,26 @@ pip install -t ./lib -r ./requirements.txt
2632
開発
2733
----
2834

29-
テストサーバーの起動:
35+
1) 開発サーバーの起動:
3036

3137
```
3238
dev_appserver.py ./
3339
```
3440

3541
次の URL から確認:
3642

37-
- http://localhost:8080/ (app)
38-
- http://localhost:8000/ (dashboard)
43+
- <http://localhost:8080/> (app)
44+
- <http://localhost:8000/> (dashboard)
3945

40-
テストランナーの実行:
46+
2) 単体テストの実行:
4147

4248
```
4349
GAE_SDK_PATH=/path/to/google-cloud-sdk/platform/google_appengine python ./test/runner.py
4450
```
4551

52+
- App Engine SDK for Python の PATH が `/path/to/google-cloud-sdk/platform/google_appengine` の場合
53+
- 出力は [TAP](https://testanything.org/)
54+
4655

4756
メンテナ
4857
--------

0 commit comments

Comments
 (0)