From c42423d603d8449debce7ae54a0ec9ef1182b8eb Mon Sep 17 00:00:00 2001 From: Matthew Rowland Date: Thu, 27 Jun 2024 10:00:56 -0700 Subject: [PATCH] chore: Jump --- setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.md b/setup.md index 0a253ab96..cf588ee76 100644 --- a/setup.md +++ b/setup.md @@ -14,7 +14,7 @@ Postgres data: 1. `make postgres` - start up the postgres container 2. `curl -O https://storage.googleapis.com/berkeleytime/public/bt_seed.sql.gz` - download the database as a GZip file 3. `gzip -d bt_seed.sql.gz` - unzip this file -4. `cat bt_seed.sql | docker exec -i bt_postgres psql -U bt -d bt_main` - see Postgres container with the data. +4. `cat bt_seed.sql | docker exec -i bt_postgres psql -U bt -d bt_main` - see Postgres container with the data Before starting the server, make sure the `DATABASE_URL` entry in your `.env.dev` is `postgres://bt:bt@postgres:5432/bt_main` so that the backend connects to the local DB.