mirror of
https://github.com/mainflux/mainflux.git
synced 2025-05-09 19:29:29 +08:00

Moved main method to top-level 'cmd' directory. Extracted the dockerfile to the root as well. Signed-off-by: Dejan Mijic <dejan@mainflux.com>
413 B
413 B
Linux install
Copy senmlserver.service to /etc/systemd/system copy senmlServer to /usr/bin
Edit up the service file sudo systemctl daemon-reload sudo systemctl enable senmlserver.service sudo systemctl start senmlserver.service
Enable firewall sudo ufw allow 8880/tcp
Test with curl -d '[ { "n":"junk1", "v":12.4 , "u":"V" } ] ' http://10.1.3.17:8880
influx -host 10.1.3.17 use fh2 select * from senml