- Create local environment:
python3.12 -m venv venv- Activate local environment:
. venv/bin/activate - Install necessary packages:
pip install -r requirements.txt- Create
.envfile
cp .env-example .env- Get API keys from:
- Spoonacular API key - https://spoonacular.com/food-api
- Telegram bot API key - https://t.me/BotFather
-
Update
.envwith your API keys -
Run
main.pyfile
python3.12 main.py