Skip to content
Owner: Core/Support WG
JavaScript HTML Go CSS Shell Makefile Dockerfile
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Revert "Extend configuration for edgex services to include uri/path." Nov 27, 2019
assets/images update readme Dec 8, 2018
bin fix kill previous one Apr 30, 2019
cmd/edgex-ui-server
docs
internal/pkg/usage Add command line option to specify configuration.toml location Nov 16, 2019
snap snap/many: add basic snap Jun 26, 2019
.gitignore Merge mater into Edinburgh Jun 26, 2019
CONTRIBUTING.md Replace repository name from edgexfoundry-holding to edgexfoundry Sep 10, 2018
Dockerfile Finish issue-#82 about Docker build image without source code May 9, 2019
LICENSE Initial commit Sep 10, 2018
Makefile Add code coverage output file Jun 24, 2019
README.md update doc description Aug 9, 2019
VERSION Update VERSION file to branch name Nov 21, 2019
go.mod Add command line option to specify configuration.toml location Nov 16, 2019
version.go #1 Use Golang project layout to standardize the project Sep 10, 2018

README.md

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 edgexfoundry/docker-edgex-ui-go:1.0.0

docker run -it -d -p 4000:4000 --name edgex-ui-go edgexfoundry/docker-edgex-ui-go:1.0.0

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

You can’t perform that action at this time.