Skip to content

Commit 2ee36f4

Browse files
authored
docs: make env vars copy/paste-able (#50)
1 parent 3aa1575 commit 2ee36f4

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,16 @@ gemini extensions install https://github.com/gemini-cli-extensions/cloud-sql-sql
4848
Set the following environment variables before starting the Gemini CLI. These variables can be loaded from a `.env` file.
4949
This configuration is not required if utilizing the [Admin toolset](#supported-tools).
5050

51-
* `CLOUD_SQL_MSSQL_PROJECT`: The GCP project ID.
52-
* `CLOUD_SQL_MSSQL_REGION`: The region of your Cloud SQL instance.
53-
* `CLOUD_SQL_MSSQL_INSTANCE`: The ID of your Cloud SQL instance.
54-
* `CLOUD_SQL_MSSQL_DATABASE`: The name of the database to connect to.
55-
* `CLOUD_SQL_MSSQL_IP_ADDRESS`: The IP address of the Cloud SQL instance.
56-
* `CLOUD_SQL_MSSQL_USER`: The database username.
57-
* `CLOUD_SQL_MSSQL_PASSWORD`: The password for the database user.
58-
* `CLOUD_SQL_MSSQL_IP_TYPE`: (Optional) The IP type i.e. “Public” or “Private” (Default: Public).
51+
```bash
52+
export CLOUD_SQL_MSSQL_PROJECT="<your-gcp-project-id>"
53+
export CLOUD_SQL_MSSQL_REGION="<your-cloud-sql-region>"
54+
export CLOUD_SQL_MSSQL_INSTANCE="<your-cloud-sql-instance-id>"
55+
export CLOUD_SQL_MSSQL_DATABASE="<your-database-name>"
56+
export CLOUD_SQL_MSSQL_IP_ADDRESS="<your-instance-ip-address>"
57+
export CLOUD_SQL_MSSQL_USER="<your-database-user>"
58+
export CLOUD_SQL_MSSQL_PASSWORD="<your-database-password>"
59+
export CLOUD_SQL_MSSQL_IP_TYPE="PUBLIC" # Optional: `PUBLIC`, `PRIVATE`. Defaults to `PUBLIC`.
60+
```
5961

6062
Ensure [Application Default Credentials](https://cloud.google.com/docs/authentication/gcloud) are available in your environment.
6163

0 commit comments

Comments
 (0)