Skip to content

RogersLei/django-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-vue

django and vue

Introduction

利用 Vue 和 Django 搭建一个增删改查的Demo

Dependence

Depfu Depfu Depfu Depfu Depfu Depfu Depfu Depfu

Deploy

first

git clone git@github.com:RogersLei/django-vue.git

cd django-vue
``` Shell
//  frontend/  it's default port is 8080
  cd frontend
  npm install
  npm run dev

if you can't make db in your PC, you should config your database first for mysql and name is python_use

then you should do this:

// it's default port is 8000
  cd django-vue
  python manage.py makemigrations crud
  python manage.py migrate
  python manage.py runserver 8000

Directory Structure