Skip to content

Commit

Permalink
docs: Update README to include seeding instructions (#1126)
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielCWT authored May 19, 2024
1 parent 812056c commit 46fb307
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ It is probably okay to use a different version of PostgreSQL or Erlang/OTP, but
$ sudo service postgresql restart
```

By default, the database is populated with 10 students and 5 assessments. Each student will have a submission to the corresponding submission. This can be changed in `priv/repo/seeds.exs` with the variables `number_of_students`, `number_of_assessments` and `number_of_questions`. Save the changes and run:

```bash
$ mix ecto.reset
```

4. Run the server on your local machine

```bash
Expand Down

0 comments on commit 46fb307

Please sign in to comment.