Skip to content

thecarrot123/The-Mighty-Todolist-Telegram-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The-Mighty-Todolist-Telegram-Bot

Prepare Dev Environment

  1. Install Dependencies:

    Use poetry as an environment and module manager to install dependencies by:

    poetry install
  2. Add Environment Variables:

    Create .env file in project working directory. The env file will provide the needed environment variables to python files.

    echo "TELEGRAM_TOKEN=THE_REAL_TOKEN\nDATABASE_URL="task.db"" > .env
  3. Link Pre-Commit Hook:

    Link pre-commit hook to your .git file to format python files using black and autopep8.

    ln pre-commit .git/hooks/pre-commit
  4. Run:

    Don't forget to run the bot via poetry.

    poetry run python app/bot.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •