Skip to content

Commit 2e16e47

Browse files
committed
Add README-zh.md & Update README.md
1 parent d1c136e commit 2e16e47

File tree

2 files changed

+50
-10
lines changed

2 files changed

+50
-10
lines changed

README-zh.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# django-with-vuejs
2+
FAST AND CLEAR IN DevOps.
3+
4+
[English README.md](/README-zh.md)
5+
6+
项目是最简版
7+
8+
---
9+
### Step 1: 装前端依赖
10+
11+
在 package.json 文件所在目录
12+
```
13+
npm install
14+
```
15+
16+
### Step 2: 构建前端
17+
18+
在 frontend 目录
19+
```
20+
npm run build
21+
```
22+
23+
### Step 3: 通过Django 自带server启动项目
24+
25+
In the directory where manage.py is located
26+
```
27+
python manage runserver
28+
```
29+
---
30+
# 更详细的教程
31+
这里: https://zhuanlan.zhihu.com/p/24893786
32+
33+
有问题?[New issues](https://github.com/tmpbook/django-with-vuejs/issues/new)

README.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,31 @@
11
# django-with-vuejs
22
FAST AND CLEAR IN DevOps.
33

4+
[中文 README.md](/README-zh.md)
5+
46
This item is the most simplified version
5-
Step 1: Install front end dependencies
67

7-
# In the directory where the package.json file is located
8+
### Step 1: Install front end dependencies
9+
10+
In the directory where the package.json file is located
11+
```
812
npm install
13+
```
914

10-
Step 2: Build the front end
15+
### Step 2: Build the front end
1116

12-
# In the frontend directory
17+
In the frontend directory
18+
```
1319
npm run build
20+
```
1421

15-
Step 3: Start the project with Django's own server
22+
### Step 3: Start the project with Django's own server
1623

17-
# In the directory where manage.py is located
24+
In the directory where manage.py is located
25+
```
1826
python manage runserver
27+
```
1928

20-
More detailed tutorials
21-
22-
Here: https://zhuanlan.zhihu.com/p/24893786
29+
Have questions to mention:
2330

24-
Have questions to mention
31+
[New issues](https://github.com/tmpbook/django-with-vuejs/issues/new)

0 commit comments

Comments
 (0)