- Install Python 3.11
- Install Poetry
- Clone repository
git clone https://github.com/LagrangeH/MiniOpenAITelegramBot.git
- Go to the root directory of the project
cd MiniOpenAITelegramBot/
- Create Poetry virtual environment
poetry env use python3.11
- Install dependencies
poetry install
- Create
.env
and paste template from.env.dist
cp .env.dist .env
- Substitute your environment variable values in
.env
- Update dependencies
poetry update
- Run
src/__main__.py
poetry run python src/__main__.py