3 The Web UI code and configuration is in the repository directory [ui/web](./../../ui/web/). Commands execution is relative to that directory.
11 corepack prepare pnpm@latest --activate
17 #### Simulator UI Server Configuration
19 The simulator UI server must be enabled, use WebSocket transport type and have authentication disabled. The simulator main configuration file should have a `uiServer` section like this:
34 See [here](./../../README.md#charging-stations-simulator-configuration) for more details.
36 #### Web UI configuration
38 Copy the configuration template [src/assets/config-template.ts](src/assets/config-template.ts) to `src/assets/config.ts`.
42 #### Compiles for production
48 #### Compiles and preview locally for production
54 #### Compiles and run for production
62 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
64 ![webui](./assets/webui.png)
66 1. With the top 2 buttons you can now stop and afterwards start the simulator and inspect the server console for the number of charging stations, e.g. with the default configuration: `Charging stations simulator ... started with 10 charging station(s)`
67 2. Each charging station is a row in the table below, try "Stop Charging Station" and refresh with the large blue button and see the status Started turns from Yes into No.
71 #### Compiles and run for development
83 #### Lints and fixes files