- Python 3.10^
- AIOgram 3.x
- MongoDB (motor)
git clone https://github.com/Fsoky/anonimchatbot-aiogram3.git
cd anonimchatbot-aiogram3
Use poetry for install dependencies (pip install poetry
)
poetry install
python src/__main__.py
Tip
Make sure you modify the .env file before running this script!
docker compose up
This will output the logs of your docker containers:
- anonchat-telegram
- mongo
- mongo-express
To access admin panel of your database go to localhost:8081
in your browser and enter your credentials in the prompt
After checking that everything works as expected, you can set those containers to run as daemons by stopping previous docker command with ctrl + c and running it again with:
docker compose up -d