fanzcsoft / fledge-gui

A web based graphical interface for Fledge

Home Page:https://www.lfedge.org/projects/fledge/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fledge GUI

This is a GUI for Fledge

Prerequisites

Prerequisite macOS

Prerequisite Ubuntu

Prerequisite RHEL/ CentOS

Prerequisite Windows

To update yarn, Run sudo npm i -g yarn

git clone https://github.com/fledge/fledge-gui.git
cd fledge-gui

Development Server

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.

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, 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.

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 (macOS) 15.6.x latest 1
Chrome 104.0.x (64-bit) latest 2
Firefox 103.0.x (64-bit) latest 2

Changelog

Developer's Guide

Contributing to Fledge

See Contributing Statement

© 2021 DIANOMIC SYSTEMS, INC. All Rights Reserved.

About

A web based graphical interface for Fledge

https://www.lfedge.org/projects/fledge/

License:Apache License 2.0


Languages

Language:TypeScript 64.8%Language:HTML 28.5%Language:CSS 3.1%Language:Shell 3.0%Language:JavaScript 0.5%Language:Dockerfile 0.0%