Merge pull request #282 from dominicbachmann/fix-contributing-guide

Fixed contributing guide
This commit is contained in:
Andras Bacsai 2022-04-03 22:32:20 +02:00 committed by GitHub
commit 5ce1bc1ec5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,8 @@ ## Setup development environment
- Copy `.env.template` to `.env` and set the `COOLIFY_APP_ID` environment variable to something cool. - Copy `.env.template` to `.env` and set the `COOLIFY_APP_ID` environment variable to something cool.
- Install dependencies with `pnpm install`. - Install dependencies with `pnpm install`.
- Need to create a local SQlite database with `pnpm db:push`. - Need to create a local SQlite database with `pnpm db:push`.
- This will apply all migrations and seed the database at `db/dev.db`. - This will apply all migrations at `db/dev.db`.
- Seed the database with base entities with `pnpm db:seed`
- You can start coding after starting `pnpm dev`. - You can start coding after starting `pnpm dev`.
## Database migrations ## Database migrations