Skip to content

Commit b4b5e00

Browse files
authored
Update README.md
1 parent 17f7170 commit b4b5e00

File tree

1 file changed

+26
-4
lines changed

1 file changed

+26
-4
lines changed

README.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,29 @@
1-
Flasky
2-
======
1+
# web框架
32

4-
This repository contains the source code examples for my O'Reilly book [Flask Web Development](http://www.flaskbook.com).
3+
## app
4+
models.py 数据库
5+
static 资源
6+
templates html页面
57

6-
The commits and tags in this repository were carefully created to match the sequence in which concepts are presented in the book. Please read the section titled "How to Work with the Example Code" in the book's preface for instructions.
8+
9+
## migrations
10+
数据库迁移
11+
python manage.py db init 创建迁移仓库
12+
python manage.py db migrate -m "initial migration" 创建迁移脚步
13+
python manage.py db upgrade 迁移
14+
15+
## requirements
16+
依赖包
17+
- common.txt 公共依赖包
18+
- dev.txt 开发环境 pip install -r dev.txt
19+
- prod.txt 生产环境 pip install -r prod.txt
20+
21+
## tests
22+
单元测试
23+
24+
## config.py
25+
配置文件
26+
27+
## manage.py
28+
启动文件
729

0 commit comments

Comments
 (0)