From 2da89e292b295b54cce150b4e18a1f811915e238 Mon Sep 17 00:00:00 2001 From: Phillip LeBlanc Date: Tue, 10 Sep 2024 00:36:37 +0900 Subject: [PATCH] Tweak postgres accelerator quickstart --- postgres/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/postgres/README.md b/postgres/README.md index bdf1a9b..7f69bad 100644 --- a/postgres/README.md +++ b/postgres/README.md @@ -61,6 +61,12 @@ spice login This will create a `.env` file with the Spice.ai API key in the `postgres-demo` directory. +Also, ensure the `PG_PASS` environment variable is set to the password for your Postgres instance. Environment variables can be specified on the command line when running the Spice runtime, or in the same `.env` file created in Step 3. + +```bash +echo "PG_PASS=" >> .env +``` + **Step 4.** Start the Spice runtime. ```bash @@ -79,12 +85,6 @@ Spice.ai runtime starting... **Step 5.** Configure the dataset to use Postgres as data accelerator. Copy and paste the configuration below to `spicepod.yaml` in the Spice app. -Ensure the `PG_PASS` environment variable is set to the password for your Postgres instance. Environment variables can be specified on the command line when running the Spice runtime, or in the same `.env` file created in Step 3. - -```bash -echo "PG_PASS=" > .env -``` - ```yaml version: v1beta1 kind: Spicepod