google app engine shortcuts for python development

These are commands that I use often during the process of developing for google app engine, using the Python 2.7 programming language.

gcloud app init

I use this command to switch between projects. If I learn a better way I’ll post it here. Basically it allows me to select which login account to use, and which app engine instance to use.

gcloud app deploy

This command pushes the app in the current directory to gcloud using the instance that is currently set.

gcloud app deploy index.yaml

This will push the database indexes to the current instance. This will cause the indexes to rebuild, and may take a moment or two to complete.

gcloud app browse

This will pull up your app in the browser.