Install packages for python library
$ pip3 install -r requirements.txt
Install npm packages
$ yarn
Development
$ yarn start
Build the frontend first
$ yarn build
Start mqtt broker
$ cd src
$ sudo docker run -d -it -p 1883:1883 -v $(pwd)/mosquitto.conf:/mosquitto/config/
Start the backend server
$ cd src
$ sudo python3 mapbox.py
You can access the website according to the ip of your computer.