If you’re running on Windows, download Cloud SDK zip and launch install.bat script,

script, If you’re running on Linux or Mac OS run the following command in your shell/Terminal:

curl https://dl.google.com/dl/cloudsdk/release/install_google_cloud_sdk.bash | bash

gcloud.

gcloud components

gcloud components list

gcloud components update component-id

gcloud components --help

gcloud components update gae-python gae-java

$ gcloud sql instances list my-developers-console-project:sql-instance There are available updates for some Cloud SDK components. To install them, please run: $ gcloud components update

gcloud components update

gcloud config set --section component_manager disable_update_check

gcloud auth login

gcloud auth login

gcloud auth list

gcloud config set account

to set the active account.



Project Initialization and Push-to-Deploy

Every new project created on Google Developers Console now comes with a free private Git repository, where you can store your source code and use it for your App Engine app deployments via push-to-deploy.



To quickly initialize your local environment, run cloud init project-id . This command will set-up the version control system, clone the source code onto your machine and will set-up push-to-deploy, all in one command. Here’s a workflow example:

Create “my-awesome-app” application in Google Developers Console. Install Cloud SDK and run gcloud init my-awesome-app . Change directory to my-awesome-app/default and add some code. (Have a look at some sample projects if you need inspiration.) Commit the code by running git commit -a -m “First commit for my awesome app” and deploy it by running git push origin master . Your app should now be serving live at https://my-awesome-app.appspot.com!

gcloud

gclo

con

l

gcloud config list

gclo

co

config components

gcloud sql instances create

gcloud

gcloud interactive

gcloud config list

gcloud interactive

gcloud.config.list()[’core’][’project’]

gcloud

--help

gcloud --help

gcloud sql --help

gcloud sql backups --help

gcloud sql backups list --help

gcloud