Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Commit

Permalink
docs: mention seeding in Development Setup (#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
ojeytonwilliams authored Sep 13, 2020
1 parent 1c72540 commit b5c83c4
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 @@ -101,6 +101,8 @@ The server will automatically restart anytime you save a `.ts` or `.js` file wit

You can run any command within the container by prefixing it with `docker-compose exec app`, e.g. `docker-compose exec app npm install express`

Next, [seed the DB](#seeding-the-db).

#### Natively running node in Windows/MacOS/Linux (no docker)

DISCLAIMER: This is a more hands on approach.
Expand All @@ -115,7 +117,11 @@ MAKE SURE TO SET `IS_DOCKER=` in `.env` to blank
npm run dev
```

## Additional DB docs can be found in server/docs/README.md
## Seeding the DB

Initially the DB will be empty. To seed it with sample data, run `yarn db:reset`.

Additional DB docs can be found in [the contributing readme](CONTRIBUTING.md#database).

## Testing
Run tests
Expand Down

0 comments on commit b5c83c4

Please sign in to comment.