From bfe4aa78d882b9d95bd1f954371136f3aa5c38c9 Mon Sep 17 00:00:00 2001 From: Joris Date: Fri, 7 Feb 2025 08:25:28 +0100 Subject: Migrate database at startup --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'README.md') 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 -- cgit v1.2.3