add db setup to CONTRIBUTING.md

This commit is contained in:
litc0de 2024-11-03 10:33:01 +01:00 committed by Damien Laureaux
parent 14369e2f45
commit e710452a37
No known key found for this signature in database
GPG key ID: 3802EADA1C1C604D

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.
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