diff options
author | Joris | 2025-02-07 08:25:28 +0100 |
---|---|---|
committer | Joris | 2025-02-07 08:25:28 +0100 |
commit | bfe4aa78d882b9d95bd1f954371136f3aa5c38c9 (patch) | |
tree | 597f20035a42f4603d4a1c693a4c070ef00e112e /README.md | |
parent | fedb4e7c7ebf21619f89c29d011e288363a978e9 (diff) |
Migrate database at startup
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -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 |