Merge pull request #448 from bastipnt/master

add db setup to CONTRIBUTING.md
This commit is contained in:
ItzCrazyKns 2024-11-09 20:54:14 +05:30 committed by GitHub
commit 10c5ac1076
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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