d-Rickyy-b / Python-BlackJackBot

A Telegram bot written in Python to play the game BlackJack alone or with your friends
https://telegram.me/BlackJackBot
GNU General Public License v3.0
76 stars 37 forks source link

Automatic deploy to VPS #67

Closed d-Rickyy-b closed 6 years ago

d-Rickyy-b commented 6 years ago

Some automated way to deploy the code to the VPS with travis should be used in order to keep stuff automated.

A script on the server side should be called to automatically switch user, git pull and systemctl restart bot.

I would need to implement a way to drain the bot, so that playing users are not kicked out of their current game, but instead get noticed, that the bot is going down for maintenance.


https://gist.github.com/jesgs/7815f791c98ea2f3e82c51f5c66b6ce1