No Description

Aliaksandr 7ca826c29e START removing to aiogram3 5 months ago
app 7ca826c29e START removing to aiogram3 5 months ago
config 7ca826c29e START removing to aiogram3 5 months ago
tests 7ca826c29e START removing to aiogram3 5 months ago
.env.sample 7ca826c29e START removing to aiogram3 5 months ago
.gitignore 7ca826c29e START removing to aiogram3 5 months ago
LICENSE 7ca826c29e START removing to aiogram3 5 months ago
README.md 7965f53d40 add some documentation and .env.sample.file 5 months ago
poetry.lock 7ca826c29e START removing to aiogram3 5 months ago
pyproject.toml 7ca826c29e START removing to aiogram3 5 months ago
sastrabot.py 7ca826c29e START removing to aiogram3 5 months ago

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