Here's a guide on how to build this project on Google Cloud:
-
Create a new Google Cloud project
-
Enable following APIs:
- Cloud Run Admin API
- Cloud Build API
- Vertex AI API
-
Run the following command on Cloud Shell:
gcloud config set project YOUR_PROJECT_ID
-
Clone the repository using the following command:
git clone https://github.com/NehaKoppikar/ContentGenerationAnalysis.git
-
Change the working directory using the following command:
cd ContentGeneratorAnalysis
-
Build Docker image
gcloud builds submit --tag gcr.io/YOUR_PROJECT_ID/gen-analyzer
-
Deploy the image to Cloud Run
gcloud run deploy --image gcr.io/YOUR_PROJECT_ID/gen-analyzer --platform managed