Skip to main content

App Engine

Règles : 

App engine supporte une seule application par projet !

 

Hello world : 

git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git
cd python-docs-samples/appengine/standard_python3/hello_world

Tester l'app : 

dev_appserver.py app.yaml

Déployer dans app engine

gcloud app deploy
Services to deploy:

descriptor:                  [/home/nehemiebarkia/temp/python-docs-samples/appengine/standard_python3/hello_world/app.yaml]
source:                      [/home/nehemiebarkia/temp/python-docs-samples/appengine/standard_python3/hello_world]
target project:              [XXXXXXXXXX]
target service:              [default]
target version:              [XXXXXXXXXX]
target url:                  [https://XXXXX.ew.r.appspot.com]
target service account:      [App Engine default service account]


Do you want to continue (Y/n)?  y

Beginning deployment of service [default]...
Uploading 6 files to Google Cloud Storage
17%
33%
50%
67%
83%
100%
100%
File upload done.