You must already have your wifi adapter install and also must be in monitor mode
- Rename the
env
file to.env
- Run
go mod tidy
- Fill up the necesarry fields in
.env
you just renamed - Compile the go script to binary
go build -o <your_executable_name> main.go
- Run the executable using
sudo ./<your_executable_name>
This should be the output of the script after successfully running it
2024/09/24 20:27:01 Connected to MQTT broker
2024/09/24 20:27:01 Crowd Monitoring Publisher is starting at interface wlan1
Please submit a ticket if there is an issue with the publisher