项目作者: eduzen

项目描述 :
python telegram bot
高级语言: Python
项目地址: git://github.com/eduzen/bot.git
创建时间: 2018-02-24T22:17:53Z
项目社区:https://github.com/eduzen/bot

开源协议:

下载


*# Just another telegram-bot

  1. cargo install just
  2. just run

Code style

For linting, code style and etcetera, we use pre-commit

  1. pre-commit install
  2. pre-commit run --all-files

Docker

for production docker-compose.yaml

  1. services:
  2. bot:
  3. image: index.docker.io/eduzen/bot:latest
  4. restart: always
  5. env_file:
  6. - .env
  7. volumes:
  8. - ./db.sqlite3:/code/db.sqlite3
  9. watchtower:
  10. image: index.docker.io/containrrr/watchtower
  11. volumes:
  12. - /var/run/docker.sock:/var/run/docker.sock
  13. - /home/eduzen/.docker/config.json:/config.json:ro
  14. command: --interval 30 --cleanup

*