This is a GUI for FogLAMP
To update yarn, Run sudo npm i -g yarn
git clone https://github.com/foglamp/foglamp-gui.git
cd foglamp-gui
Run yarn install && yarn start or yarn install && yarn start --host [ip_address of host machine] (to allow access on same network but another machine) for a dev server. Navigate to http://localhost:4200/ or http://<ip_address>:4200/.
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 may be you 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 (mac) | 12.1.x | latest 1 |
| Chrome | 76.0.x (64-bit) | latest 2 |
| Firefox | 68.0.x (64-bit) | latest 2 |
© 2019 DIANOMIC SYSTEMS, INC. All Rights Reserved.