Frontend: https://github.com/dcrebbin/gemini-coach
This API is for Gemini Coach made with Go Fiber
-
Create a gcloud project and enable VertexAi
-
Create a .env using the env.example file
-
Navigate to
https://console.cloud.google.com/apis/credentials?authuser=1&project=
and create a service account and give it access to the VertexAi role via Google IAM -
Download those credentials and store in
/authentication/*your credentials*.json
-
go get
-
go run main.go
-
head to https://console.cloud.google.com/run?hl=en&project=*your project*
-
Create service > Continuously deploy from a repository (Github) > Set up with cloud build > Install & enable G Cloud Build for your repo > build type "Dockerfile" > Save
-
Click into your service > Edit & Deploy New Revision > Variables & Secrets > Enter your variables & Secrets
-
Deploy
Secret Manager Not fully implemented
Not implemented