aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJoris2025-02-07 08:25:28 +0100
committerJoris2025-02-07 08:25:28 +0100
commitbfe4aa78d882b9d95bd1f954371136f3aa5c38c9 (patch)
tree597f20035a42f4603d4a1c693a4c070ef00e112e /README.md
parentfedb4e7c7ebf21619f89c29d011e288363a978e9 (diff)
Migrate database at startup
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 9 insertions, 5 deletions
diff --git a/README.md b/README.md
index 3905ef2..8e02d05 100644
--- a/README.md
+++ b/README.md
@@ -9,11 +9,15 @@
1. Use `nix develop` to download dependencies.
-2. Initialize the database with `bin/db init` if required.
+2. Start the application:
-3. Start the application with `bin/dev-server`.
+ bin/dev-server
-4. Connect with either:
+3. Add fixtures:
-- `john@mail.com` / `password`
-- or `lisa@mail.com` / `password`.
+ sqlite3 database.db < sql/fixtures.sql
+
+4. Credentials will be:
+
+ - john@mail.com / password
+ - lisa@mail.com / password