Start twenty-server:worker when npx nx start (#7820)
- start the worker service when launching `npx nx start` - update documentation
This commit is contained in:
@ -347,7 +347,7 @@
|
||||
"version": "0.2.1",
|
||||
"nx": {},
|
||||
"scripts": {
|
||||
"start": "npx nx run-many -t start -p twenty-server twenty-front"
|
||||
"start": "npx nx run-many -t start worker -p twenty-server twenty-front"
|
||||
},
|
||||
"workspaces": {
|
||||
"packages": [
|
||||
|
||||
@ -225,13 +225,14 @@ Setup your database with the following command:
|
||||
npx nx database:reset twenty-server
|
||||
```
|
||||
|
||||
Start the server and the frontend:
|
||||
Start the server, the worker and the frontend services:
|
||||
```bash
|
||||
npx nx start twenty-server
|
||||
npx nx worker twenty-server
|
||||
npx nx start twenty-front
|
||||
```
|
||||
|
||||
Alternatively, you can start both applications at once:
|
||||
Alternatively, you can start all services at once:
|
||||
```bash
|
||||
npx nx start
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user