Mainflux IoT Admin UI based on Angular 8+ and Nebular
The following are needed to run the UI:
- Docker (version 20.10)
- Docker compose (version 1.28)
For a quick setup, pre-built images from Docker Hub can be used.
First, make sure that docker
and docker-compose
are installed. Also, stop existing Mainflux containers if any.
Then, use the following instructions:
git clone https://github.com/mainflux/ui.git
cd ui
make run
UI should be now up and running at http://localhost/
.
(Note that http://localhost:3000/
is for internal use only, and is not intended to be used by the end-user.)
More configuration (port numbers, etc.) can be done by editing the .env
file before make run
.
A developer build from the source can be achieved using the following command:
make ui
Then, to start the Mainflux UI as well as other Mainflux services:
make run
For more developer tools, run angular-cli
:
cd ui
npm install
npm start
To remove the installed containers and volumes, run:
make clean