Skip to content

redxouls/Magic_Bike

Repository files navigation

Magic Bike

Installation

Install packages for python library

$ pip3 install -r requirements.txt

Install npm packages

$ npm install

How to run

Build the frontend first

$ npm run 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

How to use

You can access the website according to the ip of your computer.