After you've made sure to have the correct things (and versions) installed just run:
npm installAlso, you should fill in the environment variables, you can copy the variables from example.env using the below command:
cp example.env .development.envthen you need to migrate your database and keep it synced with schema using the below command:
npm run migrateand the final step is to run the seed script to fill your local database, for example creating an admin record:
npm run seedto run the app in the development environment just run:
npm run devnpm run debugTo build the app just run:
npm run buildTo run the linter to auto-fix all the problems run:
npm run lintTo run the unit tests run:
npm run testnpm run test:debugnpm run test:watchnpm run migrateTo find spelling errors just run
npm run spellIf you wanted to add a new word so that it won't count as spelling error, just
add it to the configs/cspell/dictionary.txt and separate with a new line
- if you are using vscode you can use Prisma
extension for autocomplete on
schema.prismafile - if you are using vscode you can use Code Spell Checker
extension to check spelling error without running
cspellscript