This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
readMe.md
- run.py 工程的入口
- mannage.py 迁移数据库入口
- python3 manage.py db init
- python3 manage.py db migrate
- python3 manage.py db upgrade
- api_server.py 接口服务器
- requirements.txt 虚拟环境依赖
- pip install -r requirements.txt
- utils/exts.py 连接数据库模块
- utils/model.py 实体模型类
- test/ 测试类文件夹 -> 参见test_command.md
- templates 前端视图
- static 静态文件
- sql 存放sql文件夹
- migrations 迁移数据库文件(系统自动生成)
- log 日志文件夹
- constant/ResultEnum.py 常量等存放文件夹/返回值枚举类
- config/db_config.py 数据库配置文件
- config/logger.conf 日志配置文件
- requirements_dev.txt 比requirements.txt多的是单元测试依赖库
- scripts/ 项目用到的各种脚本
- docs/ 项目文档
- wiki/ wiki文档
- extras/ 扩展,不属于项目必需的部分,但是与项目相关的sample、poc等,下面给出4个
- 例子:
dev_example/
production_example/
test1_poc/
test2_poc/
- .gitignore git忽略文件
- author.md 作者
Comments ( 0 )