A complete set of basic development platform for permission control based on RBAC model, with front-end and back-end separation, and the back-end using django+django-rest-framework, while the frontend using Vue+ElementUI+d2admin.
中文文档 | preview | Official website document | qq group | community | plugins market | Github
💡 「About」
We are a group of young people who love Code. In this hot era, we hope to calm down and bring some of our colors and colors through code.
Because of love, so embrace the future
🗓️ 「Development Roadmap」
Please leave your valuable suggestions for creating a more comprehensive dvadmin Submit Requirements | Roadmap
👩👦👦 「Essay Competition」
To promote better community development, we are organizing the dvadmin Essay Competition. Exciting prizes, including perpetual commercial licenses, await you. Click here to view the details.
💡 django-vue-admin Is a set of all open source rapid development platform, no reservation for individuals and enterprises free use.
👩👧👦demo address:http://demo.django-vue-admin.com
demo account:superadmin
demo password:admin123456
👩👦👦docs:https://django-vue-admin.com
Communication community:click here👩👦👦
plugins market:click here👩👦👦
django-vue-admin Discussion Group 01 (Full): 812482043 Click here to join the group chat
django-vue-admin Discussion Group 02 (Full): 687252418 Click here to join the group chat
django-vue-admin Discussion Group 03 : 442108213 Click here to join the group chat
QR Code Image
gitee(Main push):https://gitee.com/liqianglog/django-vue-admin👩👦👦
github:https://github.com/liqianglog/django-vue-admin👩👦👦
Project | Star | Introduction |
---|---|---|
django-vue-admin | Management Dashboard based on Vue2 + Element + D2Admin + Django. |
|
django-vue3-admin | Management Dashboard implemented based on Vue3 + vue-next-admin + fastcrud + Django. |
Plugin Name | Development Status | Description |
---|---|---|
dvadmin3-celery 定时任务 | Released | Enables asynchronous tasks in dvadmin3, including task scheduling and record management |
dvadmin-celery 定时任务 | Released | Enables asynchronous tasks in dvadmin3, including task scheduling and record management |
dvadmin-sms 短信服务 | Released | Integrates SMS service plugins for various platforms |
dvadmin-vform 表单设计器 | Released | Low-code form designer plugin |
dvadmin-tenants 多租户管理 | Released | Saas mode for multi-tenancy management |
dvadmin-third 第三方用户管理 | Released | Plugin for managing third-party users |
dvadmin-ak-sk 加密密钥管理 | Released | Manages encryption keys for verifying authentication strings |
dvadmin-pay 支付插件 | Released | Payment plugin for dvadmin, supports WeChat Pay and Alipay |
dvadmin-uniapp | Released | Uniapp plugin for dvadmin |
dvadmin-cloud-storage 云存储插件 | Development | Plugin for storing files using various cloud storage providers |
dvadmin-es 搜索插件 | Development | Search plugin for Elasticsearch |
dvadmin-low-code-crud 低代码生成 | Development | Low-code generation plugin |
dvadmin-flow 工作流插件 | Development | Workflow plugin |
Python >= 3.8.0
nodejs >= 14.0
Mysql >= 5.7.0 (Optional. The default database is sqlite3. 8.0 is recommended)
Redis(Optional, the latest edition)
# clone code
git clone https://gitee.com/liqianglog/django-vue-admin.git
# enter code dir
cd web
# install dependence
npm install --registry=https://registry.npm.taobao.org
# Start service
npm run dev
# Visit http://localhost:8080 in your browser
# Parameters such as boot port can be configured in the #.env.development file
# Build the production environment
# npm run build
1. enter code dir cd backend
2. copy ./conf/env.example.py to ./conf dir,rename as env.py
3. in env.py configure database information
mysql database recommended version: 8.0
mysql database character set: utf8mb4
4. install pip dependence
pip3 install -r requirements.txt
5. Execute the migration command:
python3 manage.py makemigrations
python3 manage.py migrate
6. Initialization data
python3 manage.py init
7. Initialize provincial, municipal and county data:
python3 manage.py init_area
8. start backend
python3 manage.py runserver 0.0.0.0:8000
or gunicorn :
gunicorn -c gunicorn_conf.py application.asgi:application
superadmin
password:admin123456
docker-compose up -d
# Initialize backend data (first execution only)
docker exec -ti dvadmin-django bash
python manage.py makemigrations
python manage.py migrate
python manage.py init_area
python manage.py init
exit
frontend url:http://127.0.0.1:8080
backend url:http://127.0.0.1:8080/api
# Change 127.0.0.1 to your own public ip address on the server
account:`superadmin` password:`admin123456`
# docker-compose stop
docker-compose down
# docker-compose restart
docker-compose restart
# docker-compose on start build
docker-compose up -d --build