Skip to content

Commit 46fb307

Browse files
authored
docs: Update README to include seeding instructions (#1126)
1 parent 812056c commit 46fb307

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ It is probably okay to use a different version of PostgreSQL or Erlang/OTP, but
6262
$ sudo service postgresql restart
6363
```
6464

65+
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:
66+
67+
```bash
68+
$ mix ecto.reset
69+
```
70+
6571
4. Run the server on your local machine
6672

6773
```bash

0 commit comments

Comments
 (0)