django-aiogram-template

Django + Aiogram

1. Using the template

Use this template

git clone https://github.com/<username>/<repo_name>.git
cd <repo_name>

2. Create virtualenv and activate

python3 -m virtualenv venv
source venv/bin/activate

3. Install required packages

pip install -r requirements.txt

4. Create .env file using env template file and fill it

cp .env.template .env

5. Run django project

python manage.py migrate
python manage.py runserver

6. Run aiogram project

python manage.py runbot