Skip to content

A starter for a flask app hosted on google cloud through GitHub continual deployment

Notifications You must be signed in to change notification settings

ianjamesburke/flask-google-cloud-run-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Google Cloud Run Starter

A simple hello world starter for a flask app hosted on google cloud run with continual deployment through github pushes

Live Demo

https://flask-cloud-run-starter.web.app/

Features

  • pre-deployment testing with pytest
  • password protection with flask-httpauth
  • gunicorn for production

Instrusctions

  • clone repo
  • create a google console account (free)
  • go to https://console.cloud.google.com/run
  • click connect repo
  • select Continuously deploy from a repository (source or function)
  • click setup with cloud build
  • link your github and select cloned repo from the list
  • Allow unauthenticated invocations (we are password protected)
  • click save
  • app should build and deploy
  • new builds triggered when pushing to main
  • Go to cloud run dashboard to find url
  • Go to integratioins for a free custon firebase domain

About

A starter for a flask app hosted on google cloud through GitHub continual deployment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published