Skip to content

Gayratoff/aiogram-django-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django + Aiogram

1. Create virtualenv and activate

python3 -m virtualenv venv
source venv/bin/activate

2. Install required packages

pip install -r requirements.txt

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

cp .env.template .env

4. Run django project

  • Makemigrations
python manage.py makemigrations
  • Migrations
python manage.py migrate
  • Run server
python manage.py runserver

5. Run aiogram project

python manage.py runbot

About

A template for creating bots with a server and admin panel. Based on aiogram and django.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages