Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 457 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 457 Bytes

Server Usage:

ADDRESS=127.0.0.1 PORT=8080 TOPIC=YOURNTFYTOPIC cargo run --bin server --release

Call Job:

curl http://server/weather/x/y
curl http://127.0.0.1:8080/weather/332/332
  • x: the x position of the pixel to check
  • y: the y position of the pixel to check

Cron Usage:

URL=NOTIFSERVERURL cargo run --bin cron --release
URL=http://127.0.0.1:8080/weather/332/332 cargo run --bin cron --release