Skip to content

Commit

Permalink
chore: Jump
Browse files Browse the repository at this point in the history
  • Loading branch information
mathhulk committed Jun 27, 2024
1 parent e5a7d5b commit c42423d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit c42423d

Please sign in to comment.