On Sat, Oct 11, 2014 at 12:55 PM, Alicia Tang <[email protected]> wrote:
> gcloud auth login git push cloud-platform master > > It keep asking me for username and password. It won't authorize me with my > google account. Where can I set up the username and password? > What command is asking for the username and password? The *auth login* command should send you to a web browser, which will accept your Google username and password so it can access your App Engine application. If you're having trouble with this, where exactly in the process are you getting an error? Screenshots would be helpful. On Sat, Oct 11, 2014 at 12:55 PM, Alicia Tang <[email protected]> wrote: > I tried the following: gcloud auth login gcloud init <projectid> > > It seams starting download the old version back to my local machine. I was > worried, so I killed the process. > If those commands worked, then you did successfully authorize into Google cloud services. As for the download, that's a good sign. The init command initializes git repositories on Google's servers and on your local machine. The download was probably to sync your local git repository with the app version on Google servers. Retry those commands and this time, allow the download to complete. On Sat, Oct 11, 2014 at 12:55 PM, Alicia Tang <[email protected]> wrote: > However now I am about to run git push cloud-platform again without being > asked for password. > That's fine. The gcloud app will cache the access tokens needed to interface with your Google account, so there's no need to repeat the auth step. On Sat, Oct 11, 2014 at 12:55 PM, Alicia Tang <[email protected]> wrote: > Do I have to run gcloud init every time when I need to push to remote? > > what does gcloud init do? And documentations? > No, you don't need to repeat the init step. You just need to run that once to setup local and remote git repos. If you need further documentation it's posted online at https://cloud.google.com/sdk/gcloud/#gcloud.init . You can also use the* -h *argument to *gcloud* to pull up a help screen. ----------------- -Vinny P Technology & Media Consultant Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
