Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak postgres accelerator quickstart #171

Merged
merged 1 commit into from
Sep 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions postgres/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<password>" >> .env
```

**Step 4.** Start the Spice runtime.

```bash
Expand All @@ -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=<password>" > .env
```

```yaml
version: v1beta1
kind: Spicepod
Expand Down
Loading