1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-05-09 19:29:29 +08:00
Dejan Mijic 26a2ea1ce1
Integrate http adapter service
Moved main method to top-level 'cmd' directory. Extracted the dockerfile
to the root as well.

Signed-off-by: Dejan Mijic <dejan@mainflux.com>
2017-09-23 01:57:14 +02:00

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