From afb4786ac0088844b910e7e9f0957a4c2e3c3b46 Mon Sep 17 00:00:00 2001 From: litc0de Date: Sun, 3 Nov 2024 10:33:01 +0100 Subject: [PATCH] add db setup to CONTRIBUTING.md --- CONTRIBUTING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c779f911..73256bd8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -18,7 +18,8 @@ Before diving into coding, setting up your local environment is key. Here's what 1. In the root directory, locate the `sample.config.toml` file. 2. Rename it to `config.toml` and fill in the necessary configuration fields specific to the backend. 3. Run `npm install` to install dependencies. -4. Use `npm run dev` to start the backend in development mode. +4. Run `npm run db:push` to set up the local sqlite. +5. Use `npm run dev` to start the backend in development mode. ### Frontend