diff --git a/.husky/pre-commit b/.husky/pre-commit index dc0378c34..fab6428a1 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -yarn lint-staged \ No newline at end of file +pnpm lint-staged diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ff57a6abd..f839dfce6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -29,7 +29,8 @@ You need to have [Docker Engine](https://docs.docker.com/engine/install/) instal - Copy `.env.template` to `.env` and set the `COOLIFY_APP_ID` environment variable to something cool. - Install dependencies with `pnpm install`. - 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`. ## Database migrations