alexcourouble / edgex-ui-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

edgex-ui-go

Go Report Card license

Go implementation of EdgeX Web UI.

├── app
│   ├── common
│   ├── component
│   ├── configs
│   ├── controller
│   ├── domain
│   └── repository
│       ├── mm
│       └── mongo
├── assets
│   └── images
├── bin
│   └── edgex-ui-go-launch.sh
├── cmd
│   └── edgex-ui-server
│       ├── res
│       ├── main.go
│       └── static
│           ├── css
│           ├── data
│           ├── js
│           ├── pages
│           ├── index.html
│           ├── templates
│           └── vendors       
│               
└── docs
    ├── api
    └── deployments

Some video demo links

face to face room at the appointed time, please contact to us before you want to have face-to-face chat.

https://VMware.zoom.us/j/3697467292

Running in docker

docker pull badboyqiao/edgex-ui-go:0.1.1

docker run -it -d -p 4000:4000 --name edgex-ui-go badboyqiao/edgex-ui-go:0.1.1

Install and Deploy

To fetch the code and compile the web-based UI:

Using go get:

go get github.com/edgexfoundry/edgex-ui-go
cd $GOPATH/src/github.com/edgexfoundry/edgex-ui-go
make build

Using Git:

cd $GOPATH/src
git clone http://github.com/edgexfoundry/edgex-ui-go.git github.com/edgexfoundry/edgex-ui-go
cd $GOPATH/src/github.com/edgexfoundry/edgex-ui-go
make build

Before starting the web-based UI for the first time, you'll need to initialize the Mongo database and ensure that the settings are pointing to your MongoDB instance. Without Mongo, the project defaults to using an in-memory database.

To initialize Mongo from the root of the project directory:

mongo docs/deployments/initmongo.js

Mongo settings can be found under cmd/res/configuration.toml.

To start the application and the web-based UI:

make run

To rebuild after making changes to source:

make clean
make build

To test the web-based UI:

make test

Using the application

Logging in

With a modern browser, navigate to http://localhost:4000. The default user credentials are:

Username   : admin
Password   : admin

Displaying EdgeX Go Microservices Data on the UI

prepare : make sure you have installed Docker and its stable version.

Starting EdgeX with Docker

To start all the EdgeX Go microservices in Docker, run the following command in the root of the EdgeX Go directory:

make run_docker

For more information and detailed instructions on using EdgeX, please reference the main EdgeX documentation.

Community

License

Apache-2.0

About

License:Apache License 2.0


Languages

Language:JavaScript 47.3%Language:HTML 27.8%Language:Go 17.3%Language:CSS 6.9%Language:Makefile 0.3%Language:Dockerfile 0.3%Language:Shell 0.1%