Backend: Python-Django 3.2
Frontend: Bootstrap5
Database: Postgresql
Google Cloud services: Cloud Run, Cloud SQL, Cloud Build
It would take about 5-10 minutes to deploy the project on gcloud.
- Follow the instruction to set up new project, Cloud Run, Cloud SQL and Cloud Build.
- Pull/Clone the latest version from GitLab Repo
- Run
bash build.sh
in gcloud console terminal to deploy the container as percloudmigrate.yaml
structured. - Run
bash run.sh
in gcloud console terminal to create and deploy the project on the Cloud Run.
There are some hard-coded part scatter through following files:
./cloudmigrate.yaml
: thesubstitutions
section./build.sh
./run.sh
./Leaderboard/settings.py
Deploy the container by docker compose
Current iteration cannot be test locally, it require some changes in:
./Leaderboard/settings.py