- clone repo
- insert .env and define
x_TOKENID where MODE=X
# example .env
MODE=DEV
DEV_TOKENID="..."
make to build image & setup bound data
# docker image
make up
# or with local changes
make dev
- the bot will check for updates on-startup and via webhook POSTs (if you set that up)
# add this to your .env to auto-update non breaking changes
REDEPLOY=1
# manually...
make update
make up # to restart
# using
make up # start
make down # stop
# updates
make # for fresh clones
make update # this pulls first
# debug
make logs # follow output live
make dev # uses go run instead of docker, MODE=DEV