Giter VIP home page Giter VIP logo

edgex-ui-go's Introduction

Please move to https://github.com/edgexfoundry/edgex-ui-go , this repository is no longer supported for maintenance

edgex-ui-go

Go Report Card license

Go implementation of EdgeX Web UI.

Effect picture after refactoring frontend ui (to be done):

Running in docker

docker pull badboyqiao/edgex-ui-go:0.1

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

Install and Deploy

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

Using go get:

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

Using Git:

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

To rebuild after making changes to source:

make clean
make build

To test the web-based UI:

make test

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 deployments/initmongo.js

Mongo settings can be found under web/app/repository/mongo/mongo.go.

To start the application and the web-based UI:

make run

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

edgex-ui-go's People

Contributors

yanghua avatar brandonforster avatar thank037 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.