nodejs-cloud-run-hello-world
v5.0.0
Published
Hello World application for Cloud Run
Downloads
5
Readme
Cloud Run Hello World with Cloud Code
"Hello World" is a Cloud Run application that renders a simple webpage.
For details on how to use this sample as a template in Cloud Code, read the documentation for Cloud Code for VS Code or IntelliJ.
Table of Contents
Getting Started with VS Code
Run the app locally with the Cloud Run Emulator
Click on the Cloud Code status bar and select 'Run on Cloud Run Emulator'.
Use the Cloud Run Emulator dialog to specify your builder option. Cloud Code supports Docker, Jib, and Buildpacks. See the skaffold documentation on builders for more information about build artifact types.
Click ‘Run’. Cloud Code begins building your image.
View the build progress in the OUTPUT window. Once the build has finished, click on the URL in the OUTPUT window to view your live application.
To stop the application, click the stop icon on the Debug Toolbar.
Getting Started with IntelliJ
Run the app locally with the Cloud Run Emulator
Define run configuration
Click the Run/Debug configurations dropdown on the top taskbar and select 'Edit Configurations'.
Select 'Cloud Run: Run Locally' and specify your builder option. Cloud Code supports Docker, Jib, and Buildpacks. See the skaffold documentation on builders for more information about build artifact types.
Run the application
Click the Run/Debug configurations dropdown and select 'Cloud Run: Run Locally'. Click the run icon.
View the build process in the output window. Once the build has finished, you will receive a notification from the Event Log. Click 'View' to access the local URLs for your deployed services.
Sign up for User Research
We want to hear your feedback!
The Cloud Code team is inviting our user community to sign-up to participate in Google User Experience Research.
If you’re invited to join a study, you may try out a new product or tell us what you think about the products you use every day. At this time, Google is only sending invitations for upcoming remote studies. Once a study is complete, you’ll receive a token of thanks for your participation such as a gift card or some Google swag.
Sign up using this link and answer a few questions about yourself, as this will help our research team match you to studies that are a great fit.