A Scalable self-hosted admin bot for Telegram
project | ||
src/main/scala/org/congressodeiradicali/karlmarx | ||
.gitignore | ||
build.sbt | ||
docker-compose.yml | ||
LICENSE | ||
README.md |
karl-marx
A Scalable self-hosted admin bot for Telegram
Deploying
- Create a fat jar with
sbt assembly
and call itBot.jar
- On the server, create a directory for your bot. Copy
docker-compose.yml
into it, createdata/bot/
, and copyBot.jar
intodata/bot/
- Run
docker-compose up -d
You can view logs with docker-compose logs
, take down the server with docker-compose down
, and restart it with docker-compose restart
.