|
5 сар өмнө | |
---|---|---|
public | 5 сар өмнө | |
src | 5 сар өмнө | |
.env | 8 сар өмнө | |
.env.development | 5 сар өмнө | |
.env.local_prod | 8 сар өмнө | |
.env.production | 8 сар өмнө | |
.eslintignore | 8 сар өмнө | |
.eslintrc.js | 8 сар өмнө | |
.gitignore | 8 сар өмнө | |
.prettierrc.js | 8 сар өмнө | |
LICENSE | 8 сар өмнө | |
README.en.md | 8 сар өмнө | |
README.md | 8 сар өмнө | |
components.d.ts | 6 сар өмнө | |
index.html | 6 сар өмнө | |
package-lock.json | 6 сар өмнө | |
package.json | 6 сар өмнө | |
plugins.d.ts | 8 сар өмнө | |
postcss.config.js | 8 сар өмнө | |
shim.d.ts | 8 сар өмнө | |
source.d.ts | 8 сар өмнө | |
tailwind.config.js | 7 сар өмнө | |
tsconfig.json | 8 сар өмнө | |
vite.config.ts | 6 сар өмнө |
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
💡 django-vue3-admin Is a set of all open source rapid development platform, no reservation for individuals and enterprises free use.
👩👧👦👩👧👦 demo address:https://demo.dvadmin.com
demo account:superadmin
demo password:admin123456
👩👦👦docs:https://django-vue-admin.com
Communication community:click here👩👦👦
plugins market:click here👩👦👦
gitee(Main push):https://gitee.com/huge-dream/django-vue3-admin👩👦👦
github:no data
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/huge-dream/django-vue3-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 daphne :
daphne -b 0.0.0.0 -p 8000 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