You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
continuous-integration/drone/push Build is passing
Details
|
3 years ago | |
---|---|---|
kubernetes | 3 years ago | |
.drone.yml | 3 years ago | |
.gitignore | 3 years ago | |
Dockerfile | 3 years ago | |
README.md | 3 years ago | |
go.mod | 3 years ago | |
go.sum | 3 years ago | |
main.go | 3 years ago | |
scryfall.go | 4 years ago | |
skaffold.yaml | 3 years ago |
README.md
stappabot
Run on minikube
Running in minikube doesn't really work right now, but you can still try if the docker container builds and deploys successfully.
Make sure the bots
namespace exists!
Requirements
Create a file in kubernetes/overlays/development
called envfile
with these values:
STAPPA_TOKEN=telegram-bot-token
STAPPA_WEBHOOK=https://telegram.webhook/endpoint
STAPPA_PATH=endpoint
Run skaffold dev
Run locally
Install stappabot
go get git.fromouter.space/Hamcha/stappabot
Set these env vars:
STAPPA_TOKEN=telegram-bot-token
STAPPA_BIND=:5749
STAPPA_WEBHOOK=https://telegram.webhook/endpoint
STAPPA_PATH=endpoint
STAPPA_MAXREQUEST=5
Run:
stappabot