From 4b70907e7ce32b26bf3e7d9ef98efba2a0ed6020 Mon Sep 17 00:00:00 2001 From: GabrielCWT <77312579+GabrielCWT@users.noreply.github.com> Date: Sun, 19 May 2024 12:23:15 +0800 Subject: [PATCH] docs: Update README to include seeding instructions --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index e34b444fa..758a03c5d 100644 --- a/README.md +++ b/README.md @@ -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