2023-01-26 11:27:46 -05:00
|
|
|
# CollabVM 1.2 Webapp 2.0
|
2024-03-15 04:01:40 -04:00
|
|
|
The CollabVM Web App is the viewer for the CollabVM Server.
|
2023-01-26 11:29:12 -05:00
|
|
|
|
2023-01-26 11:27:46 -05:00
|
|
|
## Building
|
2024-04-10 16:33:54 -04:00
|
|
|
Copy config.example.json to config.json and edit to your needs, then:
|
2023-01-26 19:06:22 -05:00
|
|
|
|
2024-03-15 04:01:40 -04:00
|
|
|
## yarn
|
|
|
|
- `yarn`
|
|
|
|
- `yarn build`
|
|
|
|
|
|
|
|
## npm
|
|
|
|
- `npm i`
|
|
|
|
- `npm run build`
|
|
|
|
|
|
|
|
The build output directory is `dist/`.
|
|
|
|
|
|
|
|
## Unit testing
|
|
|
|
This is very minimal and only tests a single standalone part at the moment:
|
|
|
|
|
|
|
|
- `yarn test`
|
2023-03-29 09:17:01 -04:00
|
|
|
|
|
|
|
## Serving
|
2024-03-15 04:01:40 -04:00
|
|
|
Just drop the contents of `dist/` somewhere into your webroot.
|
|
|
|
|
|
|
|
For **testing or development purposes only**, you can throw up a quick test webserver with the following command:
|
|
|
|
|
|
|
|
## yarn
|
|
|
|
`yarn serve`
|
|
|
|
|
|
|
|
## npm
|
2023-03-29 09:17:01 -04:00
|
|
|
`npm run serve`
|