add db setup to CONTRIBUTING.md

This commit is contained in:
litc0de 2024-11-03 10:33:01 +01:00
parent 1e99fe8d69
commit afb4786ac0
No known key found for this signature in database
GPG Key ID: 5B09242AB9626F6E
1 changed files with 2 additions and 1 deletions

View File

@ -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. 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. 2. Rename it to `config.toml` and fill in the necessary configuration fields specific to the backend.
3. Run `npm install` to install dependencies. 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 ### Frontend