- AdonisJS
- PostgreSQL
- FFmpeg
- Redis
- Clone this repository
git clone https://github.com/Signa-Lingua/singa-api.git
- Change directory
cd singa-api
-
You have a Google Cloud Platform account, Google Project, and have installed the Google Cloud SDK on your local machine.
-
Setup ADC (Application Default Credentials) on your local machine.
gcloud auth application-default login
-
You have created a Postgresql instance on Cloud SQL, and have created a database and user for the application.
-
You have created a Memorystore Redis instance
-
You have created a Google Cloud Storage Bucket to store the logs.
-
You have created a service account to use for the Cloud Run and Cloud Build. It should have the following permission
Click to expand
- Cloud Run Admin
- Cloud SQL Instance User
- Secret Manager Secret Accessor
- Service Account User
- Storage Object Admin
- Cloud Build Service Account
-
You have created a Cloud Storage bucket to store the logs.
Do it manually from gcloud CLI
gcloud builds submit --substitutions _VPC_CONNECTOR=<your-vpc-connector>,_SERVICE_ACCOUNT=<your-service-account>,_LOGBUCKET=<your-log-bucket-name>