Nikos
Nikos

Reputation: 7551

How to perform the Google App gcloud app deploy commands locally

I can perform file uploads and sync commands locally with stuff like this:

 "deploy": "npm run build && gsutil cp src/app.yaml gs://quantumjs-site && gsutil -m cp -r dist  gs://quantumjs-site && npm run remote sync",
 "sync": "gsutil rsync -r gs://quantumjs-site gs://staging.fluid-griffin-211109.appspot.com/test-app",

But I have to log on to the console (via the website) to do deploy like this:

enter image description here

Can I do this locally

Upvotes: 1

Views: 61

Answers (1)

GAEfan
GAEfan

Reputation: 11370

Yes. You do the commands from the command line. (Terminal for Mac, CMD prompt for Windows)

Upvotes: 2

Related Questions