Update yarn commands (#4644)

* Simplify commands

* Simplify commands

* Migrate all dev commands to project.json

* Fix tests
This commit is contained in:
Charles Bochet
2024-03-25 12:31:18 +01:00
committed by GitHub
parent 1639b2ad0e
commit e576fe0d67
14 changed files with 179 additions and 82 deletions

View File

@ -97,7 +97,7 @@ Setup database, run migrations, and seed:
```bash
make docker-dev-sh
yarn
yarn nx database:init twenty-server
yarn nx database:reset twenty-server
```
## Step 5: Start Twenty
@ -106,7 +106,7 @@ Run the project with the following commands from the `root` folder:
```bash
make docker-dev-sh
yarn nx start:dev twenty-server
yarn nx start twenty-server
```
and in a separate terminal:

View File

@ -183,12 +183,12 @@ yarn
Setup your database with the following command:
```bash
yarn nx database:init twenty-server
yarn nx database:reset twenty-server
```
Start the server and the frontend:
```bash
yarn nx start:dev twenty-server
yarn nx start twenty-server
yarn nx start twenty-front
```