A Scalable self-hosted admin bot for Telegram
Find a file
2019-07-05 12:27:57 +02:00
project Add Docker deployment instructions 2019-07-05 11:50:04 +02:00
src/main/scala/org/congressodeiradicali/karlmarx Finished fromAdmin checker. 2019-07-05 12:27:57 +02:00
.gitignore Add IntelliJ boilerplate 2019-07-05 09:54:47 +02:00
build.sbt Some basic bot structure 2019-07-05 12:00:56 +02:00
docker-compose.yml Add Docker deployment instructions 2019-07-05 11:50:04 +02:00
LICENSE Initial commit 2019-07-05 09:34:36 +02:00
README.md Add Docker deployment instructions 2019-07-05 11:50:04 +02:00

karl-marx

Deploying

  • Create a fat jar with sbt assembly and call it Bot.jar
  • On the server, create a directory for your bot. Copy docker-compose.yml into it, create data/bot/, and copy Bot.jar into data/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.