Skip to content

Commit

Permalink
GCP one click deployment postcreate hook - final
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneLightsOn committed May 30, 2024
1 parent d774fa4 commit eb042e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/deployment_guides/gcp_one_click_deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Before deploying to Google Cloud Run, you'll need a postgres database accessible
## Deployment Steps

After clicking the button above, you'll be taken to the Google Cloud Console. Follow these steps to deploy the Toolkit:
- **Select a Project**: Choose the Google Cloud Project you want to deploy the Toolkit to. If you don't have a project, you need to create one.
- **Select a Project**: Choose the Google Cloud Project you want to deploy the Toolkit to. If you don't have a project, you need to create [one](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
- **Set the Region**: Choose the region you want to deploy the Toolkit to.
- **Set the DATABASE_URL environment variable**: Enter the connection string of the format `postgresql+psycopg2://USERNAME:PASSWORD@HOST:PORT/DB_NAME`. The `HOST` value here is the Public IP address of your provisioned PostgreSQL database, and the default `PORT` is 5432. Make sure to use the username and password pair you set when creating your SQL instance. For example, `postgresql+psycopg2://myuser:mypassword@<your-db-public-ip-address>:5432/toolkit`.
- **Set the Cohere API Key**: Enter your Cohere API key, you can create one on the [Cohere Dashboard](https://dashboard.cohere.com).
Expand Down

0 comments on commit eb042e4

Please sign in to comment.