In my previous article, I walked through using the Google Cloud CLI interactive shell for deploying serverless apps to Cloud Run.
gcloud provides comprehensive commands, but using it involves fairly detailed knowledge of a somewhat daunting number of steps that must be followed to set up project resources and deploy an app.
run, that streamlines those steps using a simple configuration file (
run.yaml) to handle all the details. When you deploy,
run will prompt for any missing configuration settings and save them for subsequent deployments.
In addition, the
run CLI can also generate starter projects and examples to help you get up and running even faster.
To create and deploy an application, you run the following commands:
run login run new run deploy
This what using
run looks like:
I plan to add more templates, examples, and support for integrations with other Google Cloud services.
Keep in mind that
run is not a replacement for everything that
Install it from npm:
npm install -g @subfuzion/run # or npx @subfuzion/run
See the repo for more details.
run a try and let me know what you think.
Top comments (0)