Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 623 Bytes

README.md

File metadata and controls

25 lines (13 loc) · 623 Bytes

Mastodon bot that toots Sydney beach pollution forecasts.

Data sourced from https://www.beachwatch.nsw.gov.au.

Mastodon

Run Local

pip install -r requirements.txt

cp .env.example .env.prod

Edit .env.prod with server url and app token.

set -o allexport; source .env.prod; set +o allexport; ./scheduler.py

Deploy

Install piku https://github.com/piku/piku. Install https://piku.github.io/manage.html for setting environment variables.

git remote add piku [email protected]:beach-bot

git push piku main

piku config:set `cat .env.prod`