All Projects → codingforentrepreneurs → Serverless-Django

codingforentrepreneurs / Serverless-Django

Licence: MIT license
Learn to build and deploy a Serverless Django application to Google Cloud Run with Cloud SQL, Cloud Build, & Docker.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects
powershell
5483 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to Serverless-Django

google-cloud-utilities
Docker images and scripts to deploy to Google Cloud
Stars: ✭ 26 (-33.33%)
Mutual labels:  gcloud
laravel6-on-google-cloud-run
Laravel 6 on Google cloud run for a demo
Stars: ✭ 25 (-35.9%)
Mutual labels:  cloud-run
count
Comparing serverless platforms
Stars: ✭ 27 (-30.77%)
Mutual labels:  cloud-run
cloudrun-tutorial
A tutorial showing some of the features of Cloud Run
Stars: ✭ 79 (+102.56%)
Mutual labels:  cloud-run
multer-sharp
Streaming multer storage engine permit to resize and upload to Google Cloud Storage.
Stars: ✭ 21 (-46.15%)
Mutual labels:  gcloud
gcloud-kubectl-helm
Docker image for the quaternity of gcloud, helm, kubectl and SOPS
Stars: ✭ 32 (-17.95%)
Mutual labels:  gcloud
asdf-gcloud
☁️ GCloud CLI (Google Cloud SDK) plugin for asdf version manager. Pin gcloud versions for each project!
Stars: ✭ 24 (-38.46%)
Mutual labels:  gcloud
CloudBuildManifest
CloudBuildManifest is library to get build information for Unity Cloud Build.
Stars: ✭ 18 (-53.85%)
Mutual labels:  cloud-build
GroundLevel-firebase-es
[ANCHORED] Stencil for operational web apps
Stars: ✭ 24 (-38.46%)
Mutual labels:  cloud-build
deploy-cloudrun
This action deploys your container image to Cloud Run.
Stars: ✭ 238 (+510.26%)
Mutual labels:  cloud-run
backends-for-android
Sample project to accompany my conference talk "Easy, scalable backends for Android"
Stars: ✭ 19 (-51.28%)
Mutual labels:  cloud-run
GAEPyPI
PyPI private package index on Google App Engine
Stars: ✭ 31 (-20.51%)
Mutual labels:  gcloud
Online Travel Reservation
A replica of online travel booking site KAYAK(www.kayak.com) for cmpe-273. Visit ->
Stars: ✭ 37 (-5.13%)
Mutual labels:  gcloud
container-builder-github-ci-status
Google Cloud Function responds to PubSub events on the cloud-builds topic to update GitHub CI status.
Stars: ✭ 23 (-41.03%)
Mutual labels:  cloud-build
cloud-run-node-16
Latest Node.js on Cloud Run
Stars: ✭ 14 (-64.1%)
Mutual labels:  cloud-run
steampipe-plugin-gcp
Use SQL to instantly query GCP resources across regions, projects and organizations. Open source CLI. No DB required.
Stars: ✭ 12 (-69.23%)
Mutual labels:  gcloud
nx-extend
Nx Workspaces builders and tools
Stars: ✭ 67 (+71.79%)
Mutual labels:  cloud-run
gcloud-deploy-tutorial
How to continuously deploy a Full Stack React +Node.js +MySql App to Google Cloud Compute Engine
Stars: ✭ 19 (-51.28%)
Mutual labels:  gcloud
gae-postgres
Connect to Cloud SQL for PostgreSQL from Google App Engine
Stars: ✭ 23 (-41.03%)
Mutual labels:  cloud-sql
cloud-sql-python-connector
Cloud SQL Connector for Python
Stars: ✭ 126 (+223.08%)
Mutual labels:  cloud-sql

Serverless Django Logo

Serverless Django

Learn to build and deploy a Serverless Django application to Google Cloud Run with Cloud SQL, Cloud Build, & Docker.

Requirements

Recommended

Reference

To use this code

1. Clone

git clone https://github.com/codingforentrepreneurs/Serverless-Django .

2. Create Virtual Environment

cd supercharged
python3.8 -m venv .

Use Any version of Python >= 3.6

3. Activate virtual environment Mac/Linux

source bin/activate

Windows:

.\Scripts\activate

If using pipenv, run pipenv shell && pipenv install

4. Install requirements

pip install -r requirements.txt

5. Run locally Mac/Linux

chmod +x ./scripts/local.sh
./scripts/local.sh

Windows

.\scripts\local.ps1

Lesson Code Reference

3 - Virtual Environment with Pipenv & VSCode Workspace

4 - Staging Django for Production

5 - Home Page View including Settings Variables

6 - WSGI with Gurnicorn or Waitress

8 - Install the Cloud SQL Proxy

9 - Database Service Account directory holder

10 - Run Cloud SQL Proxy with Service Account

11 - Connect Django & Proxy Database

12 - Dockerfile, Docker Build, & Docker Run

13 - Docker Build & Push To GCloud Container Registry

14 - Google Cloud Build

15 - Deploy to Cloud Run

16 - Make Changes, Build, & Deploy

17 - Production Database on Cloud Run

18 - Thank you and next steps

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].