Web GUI for Fledge
To update yarn, Run sudo npm i -g yarn
git clone https://github.com/fledge-iot/fledge-gui.git
cd fledge-gui
Run yarn install && yarn start & Navigate to http://localhost:4200/
To allow access on other browser devices, over the same network, You can set host to 0.0.0.0/IP address of the development machine. You can also set a different web port, default port is 4200.
yarn install && yarn start --host 0.0.0.0 --port <PORT>
http://<IP OF HOST MACHINE>:<PORT>/
The app will automatically reload if you change any of the source files.
Run ./build --clean-start to build the project. The build artifacts will be stored in the dist/ directory.
To deploy on another machine, You shall need to copy build artifacts stored in the dist/ directory (and, you may want to use provided nginx.conf; to avoid changes in default nginx config).
Make sure you have nginx(-light) installed on the deployment machine.
start: nginx -c nginx.conf -p $(pwd)
stop: nginx -s stop
nginx
-s stopterminates the nginx process immediately while-s quitdoes a graceful shutdown.
For windows, see details here
Make sure to fix
includedirective andserver rootinnginx.conf; unless you want to use default.
Docker installation and using docker-compose
| Browser | Tested Version | Supported |
|---|---|---|
| Safari (macOS) | 18.4.x | latest 1 |
| Chrome | 138.0.x (64-bit) | latest 2 |
| Firefox | 140.0.x (64-bit) | latest 2 |
| Microsoft Edge | 138.0.x (64-bit) | latest 2 |
© 2024 DIANOMIC SYSTEMS, INC. All Rights Reserved.