Back to Mosquitto

README

dashboard/README.md

2.1.2726 B
Original Source

Simple web-based graphical user interface for Mosquitto

To develop UI locally.

  1. Install tailwind:
sh
npm -g install tailwindcss@3
  1. Go into src and run tailwind to generate a CSS file based on tailwind classes used in index.html:
sh
tailwindcss -i ./css/styles.css -o ./tailwind/styles.css
  1. Run mosquitto http api mock

  2. Change mosquitto api endponits in src/consts.js

  3. Go into src and run a simple http server, e.g. python3 -m http.server 3000

Dependencies (in src/lib directory):