Giter VIP home page Giter VIP logo

djangorun-1's Introduction

Cloud Run Hello World with Cloud Code

This "Hello World" is a Cloud Run service that renders a webpage.


Table of Contents


VS Code Guide

VS Code Getting Started

This sample demonstrates how to use the Cloud Code extension in VS Code.

VS Code Running on Cloud Run

  1. Open the command palette
  2. Run Cloud Code: Cloud Run > Deploy

IntelliJ Guide

IntelliJ Getting Started

This sample demonstrates how to use the Cloud Code extension in IntelliJ.

IntelliJ Running on Cloud Run

  1. Enable Cloud Run support on your project. In the Console, use the navigation menu to access APIs and Services > Dashboard. Click on Cloud Run API within the list of available APIs and click Enable API.
  2. Choose the automatically created run configuration, Cloud Run: Deploy from the Run/Debug configurations dialog on the top taskbar.
  3. Click Run run action icon. This brings up the Edit configuration window.
  4. Set your Google Cloud project ID.
  5. Choose a region for your deployment platform.
  6. Click Run.

Service Configuration

Configuration for this service uses environment variables.

  • PORT [default: 8080] The service binds this port. To avoid conflicts, set explicitly this environment variable to an unused value.

Next Steps

djangorun-1's People

Contributors

pugar-gcp avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.