To setup the HMI, dothe following:
- First create an application configuration file. For this tutorial, we name the file
app.toml. From your working directory, run the following command:
> touch app.toml
- Use your favorite text editor program, open
app.tomland paste in the following configuration:
environment = "prod" # Either "prod" or "dev"
app_name = "OpenFMB HMI" # The name of the application
prod_uri = "10.0.0.1:4222" # NATS broker connection URL. IF environment = "prod", this URL shall be used
dev_uri = "192.168.86.1:4222" # NATS broker connection URL. IF environment = "dev", this URL shall be used
- Change the NATS connection URL according to your environment.