Repository files navigation
git clone https://github.com/MaximZayats/aiogram-django-template
pip install -r requirements.txt
Go to the application/config/
Rename .env.dist to .env
Insert your values
Go to the application/
Run python manage.py makemigrations
Run python manage.py migrate
Collect static: python manage.py collectstatic
Run server: python manage.py runserver
6. Run app (Bot + Server) :
python manage.py runapp or python app.py
python manage.py startapp APP_NAME
Apps are created using a template: application/config/app_template
You can use your template: python manage.py startapp APP_NAME --template TEMPLATE_PATH
Import and Add app to INSTALLED_APPS in config/apps.py
Register (include) app urls in config/web/urls.py
Run bot
Type /apps:
You should get a list of all your apps
Type /APP_NAME:
You should get a message from your app
About
The template is connected with django
Resources
License
Stars
Watchers
Forks
You can’t perform that action at this time.