Add build all script

This commit is contained in:
MDMCK10 2024-07-17 20:12:11 +02:00
parent 368b0b419b
commit 067a3ff369
2 changed files with 3 additions and 8 deletions

View file

@ -12,13 +12,7 @@ Includes:
## Jumpstart
1. Install dependencies: `yarn`
2. Build everything
```
yarn workspace @msagent-chat/msagent.js build
yarn workspace @msagent-chat/protocol build
yarn workspace @msagent-chat/webapp build
yarn workspace @msagent-chat/server build
```
2. Build everything: `yarn build`
3. Copy `server/config.example.toml` to `server/config.toml` and fill out the relevant fields.
4. Run the server: `yarn workspace @msagent-chat/server serve`
5. - Run the webapp on the development webserver: `yarn workspace @msagent-chat/webapp serve`; OR

View file

@ -7,7 +7,8 @@
"msagent.js"
],
"scripts": {
"format": "prettier --write **/*.{ts,html,scss}"
"format": "prettier --write **/*.{ts,html,scss}",
"build": "yarn workspaces foreach -p -A run build"
},
"packageManager": "yarn@4.2.2",
"devDependencies": {