The goal of this demo is to deploy Gen AI apps on Cloud run
- Ensure the GCP user is allowed to create service accounts and assign roles
1) In Cloud Shell or other environment where you have the gcloud SDK installed, execute the following commands:
gcloud components update
cd $HOME
git clone https://github.com/dojowahi/genai-everywhere.git
cd ~/genai-everywhere/src
chmod +x *.sh
2) Edit config.sh - In your editor of choice update the variables in config.sh to reflect your desired gcp project.
3) Next execute the command below
sh -x setup_argolis.sh
If the shell script has executed successfully, you should now have a new GCP project created, based on the name in your config.sh
4) Next execute the command below
sh -x setup_sa.sh
If the shell script has executed successfully, you should now have a new Service Account created.
5) Next execute the command below
sh -x deploy.sh
If the shell script has executed successfully,you will have a Cloud run URL displayed on the console. locking on the URL should take you to the app