Skip to content

erik-hasse/vans-bot

Repository files navigation

Van's RV Slack Bot

Post news to the Van's RV Slack group.

Installation

Install uv then run

uv sync
uvx pre-commit install

Usage

Create a file named .env with the following values set:

SLACK_BOT_TOKEN=
SLACK_CHANNEL_ID=

Then run

uv run vans-bot  # Add `&` to the end to run in the background

Deploying

TAG=10
docker build -t vans-bot:$TAG --platform linux/amd64 .
docker save -o export.tar vans-bot:$TAG

In Portainer, import the image, then edit the deployment with the new tag. Be sure to uncheck "Always pull the image." Verify that the service started in the logs.

About

Van's RV Slack Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published