Без опису

Aliaksandr 7ca826c29e START removing to aiogram3 8 місяців тому
app 7ca826c29e START removing to aiogram3 8 місяців тому
config 7ca826c29e START removing to aiogram3 8 місяців тому
tests 7ca826c29e START removing to aiogram3 8 місяців тому
.env.sample 7ca826c29e START removing to aiogram3 8 місяців тому
.gitignore 7ca826c29e START removing to aiogram3 8 місяців тому
LICENSE 7ca826c29e START removing to aiogram3 8 місяців тому
README.md 7965f53d40 add some documentation and .env.sample.file 8 місяців тому
poetry.lock 7ca826c29e START removing to aiogram3 8 місяців тому
pyproject.toml 7ca826c29e START removing to aiogram3 8 місяців тому
sastrabot.py 7ca826c29e START removing to aiogram3 8 місяців тому

README.md

Shastra-cakshu telegram bot

Telegram bot sends verses from scriptures by requests Text based requests suports now only

Deployment with venv or Docker

  1. Clone the repo https://github.com/ISKCON-developers-community/sastra-bot.git
  2. cd sastra-bot
  3. You can run it in virtual env or in docker. To run in venv python=<3.9
  4. Creat virtual env python 3.9 -m venv env then acivate it. env/bin/activate
  5. Instal requirements pip install -r requirements.txt
  6. Create .env file as copy of .env.sample cp .env.sample .env
  7. To run bot you need to get bot token from botFather and you must know you own telegram ID
  8. Insert this info into .env file
  9. Run the bot python sastrabot.py
  10. For deployment with Docker skip steps 3-5. But you must have Docker installed
  11. Run on linux or Mac make create and make run. To using make command in Windows watch https://earthly.dev/blog/makefiles-on-windows/ or run with related docker commands from Makefile