Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #8 from zmillman/zmillman-patch-2
Browse files Browse the repository at this point in the history
Add DB migration to setup instructions
  • Loading branch information
zmillman authored May 7, 2024
2 parents da8bab8 + bfc60a7 commit a95f603
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,13 @@ DATABASE_URL="postgresql://app:S3cre7@localhost:5432/app?schema=public"
npm run dev:docker
```

...then open a new tab, run the dev server and open [localhost:3000](http://localhost:3000/):
...then open a new tab and populate the DB schema:

```sh
npx prisma migrate deploy
```

5. Run the dev server and open [localhost:3000](http://localhost:3000/):

```sh
npm run dev
Expand Down

0 comments on commit a95f603

Please sign in to comment.