Skip to content

Repository files navigation

poll-bot

Dependencies

Setup

  1. clone repo
  2. insert .env and define x_TOKENID where MODE=X
# example .env
MODE=DEV
DEV_TOKENID="..."
  1. make to build image & setup bound data

Running the Bot

# docker image
make up

# or with local changes
make dev

Updating

  • 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

Overview of Make

# 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

About

learning networking and CD

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages