* Add WSL instruction and IDE setup instruction * Fix setup * Fix setup * Fix * Update docs/docs/developer/additional/ide-setup.mdx Co-authored-by: Weiko <corentin@twenty.com> --------- Co-authored-by: Weiko <corentin@twenty.com>
44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
---
|
|
sidebar_position: 2
|
|
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. |