Skip to content
This repository has been archived by the owner on Mar 23, 2020. It is now read-only.

foglamp/foglamp-gui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FogLAMP GUI

This is a GUI for FogLAMP

Prerequisites

Prerequisite macOS

Prerequisite Ubuntu

Prerequisite RHEL/ CentOS

Prerequisite Windows

To update yarn, Run sudo npm i -g yarn

git clone https://github.com/foglamp/foglamp-gui.git

cd foglamp-gui

Development Server

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.

Production Build & Deployment

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.

Starting with nginx

start: nginx -c nginx.conf -p $(pwd)

stop: nginx -s stop

nginx -s stop terminates the nginx process immediately while -s quit does a graceful shutdown.

For windows, see details here

Make sure to fix include directive and server root in nginx.conf; unless you want to use default.

Creating and Installing Debian/ RPM Package

Debian packaging and usage

RPM packaging and usage

Running using Docker

Docker installation and using docker-compose

Supported/ Tested Browser Version

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

Changelog

Developer's Guide

© 2019 DIANOMIC SYSTEMS, INC. All Rights Reserved.