X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ui%2Fweb%2FREADME.md;h=1a129e14132574deb40be07d82f4352c8659a7a8;hb=0475290acf98bb3575aeeb62c772f0d60b440048;hp=f2c21d13074db20a4238a3f88d15dc27bdb0311f;hpb=9d76f5ec92a3f5865ef2cefd5a253cab3aa2e5fe;p=e-mobility-charging-stations-simulator.git diff --git a/ui/web/README.md b/ui/web/README.md index f2c21d13..1a129e14 100644 --- a/ui/web/README.md +++ b/ui/web/README.md @@ -23,8 +23,8 @@ The simulator UI server must be enabled, use WebSocket transport type and have a "enabled": true, "type": "ws", "authentication": { - "enabled": false, - "type": "basic-auth", + "enabled": true, + "type": "protocol-basic-auth", "username": "admin", "password": "admin" } @@ -35,31 +35,19 @@ See [here](./../../README.md#charging-stations-simulator-configuration) for more #### Web UI configuration -Copy the configuration template [src/assets/config-template.json](src/assets/config-template.json) to `public/config.json`. +Copy the configuration template [src/assets/config-template.json](./src/assets/config-template.json) to `public/config.json`. ### Run -#### Compiles for production - -```shell -pnpm build -``` - -#### Compiles and preview locally for production +#### Compiles for production and preview locally ```shell pnpm preview ``` -#### Compiles and run for production - -```shell -pnpm start -``` - #### Try it out -For both options above you can then follow the link displayed in the terminal at the end of compilation. The Web UI looks like the following +You can now follow the link displayed in the terminal. The Web UI looks like the following: ![webui](./src/assets/webui.png)