Files
twenty/docs/docs/developer/workflows.mdx
T
willkrakow 097627fcab Fix typos/language in docs (#824)
* Fix typos/language in docs

* Fix typos
2023-07-22 18:48:31 +02:00

43 lines
1.2 KiB
Plaintext

---
sidebar_custom_props:
icon: TbTopologyStar
---
# Development workflow
## IDE Setup
If you are using VSCode, we provide a [.vscode](https://github.com/twentyhq/twenty/tree/main/.vscode) configuration.
## Frontend development commands
```bash
yarn # install dependencies
yarn start # start local development server
yarn test # run jest tests
yarn storybook:dev # run storybook
yarn storybook:test # run tests (needs yarn storybook:dev to be running)
yarn storybook:coverage # run tests (needs yarn storybook:dev to be running)
yarn lint # run linter
yarn graphql:generate
```
See [front/package.json](https://github.com/twentyhq/twenty/blob/main/front/package.json) script section to see the full list of available commands.
## Server development
```
yarn # install dependencies
yarn start:dev
yarn prisma:migrate # run migrations
yarn prisma:generate # generate prisma and nestjs-graphql schemas
yarn prisma:seed # provision database with seeds
yarn:reset # all-in-one command to reset, migrate, seed and generate schemas
yarn:test
```
See [server/package.json](https://github.com/twentyhq/twenty/blob/main/server/package.json) script section to see the full list of available commands.