Skip to content

Latest commit

 

History

History
36 lines (32 loc) · 1.24 KB

README.md

File metadata and controls

36 lines (32 loc) · 1.24 KB

MindFind

Assign codewords for stickers you use to easily access them when you need in Telegram. Demo: @MindFindBot

What you should do to run the application locally

Using Docker

  1. You need to install Docker:
  2. git clone https://github.com/rufusnufus/MindFind
  3. cd MindFind
  4. This command creates an image for this project
sudo docker build -t app .
  1. This command runs the application in the background
sudo docker run -d --env-file .env app

Without Docker

  1. git clone https://github.com/rufusnufus/MindFind
  2. cd MindFind
  3. python -m venv venv
  4. source venv/bin/activate
  5. pip install -r requirements.txt
  6. chmod +x start.py
  7. python start.py

Variables in .env file need to be specified:

  • API_TOKEN - API token of the bot given by @BotFather in Telegram
  • DB_USER - MongoDB username to access your cluster on Atlas
  • DB_PASS - MongoDB password to access your cluster on Atlas
  • DB_NAME - database name
  • ADMIN_ID - Telegram ID of the bot owner

Support

Write to @rufusnufus if you have any questions.