Monday 28 August 2017

Deploying Applications via Cloud Shell

Deploy your application to the production App Engine environment:

 gcloud app deploy ./app.yaml 

After the application is deployed, you can visit it by opening the URL http://[yourappname].appspot.com in your web browser.

To upload your cron jobs, you must specify the cron.yaml as a parameter to the following gcloud command:

 gcloud app deploy cron.yaml

Cron jobs can be checked at https://console.cloud.google.com/appengine/taskqueues

If you get an error with multiple versions (greater than 15)

Get the list of versions:
gcloud app versions list 

Delete versions (multiple separated by space)
gcloud app versions delete [version#1] [version#2] ..etc

No comments:

Post a Comment