From 734f6564fa5e3d49bb2b4dcf493134c43dec6aca Mon Sep 17 00:00:00 2001 From: ibuler Date: Tue, 9 Aug 2016 00:57:31 +0800 Subject: [PATCH] Change project_structure content to a new file --- docs/code_style.md | 39 ------------------------------------ docs/project_structure.md | 42 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 39 deletions(-) create mode 100644 docs/project_structure.md diff --git a/docs/code_style.md b/docs/code_style.md index d6f707ea4..f5b4c43f0 100644 --- a/docs/code_style.md +++ b/docs/code_style.md @@ -66,45 +66,6 @@ Python代码参考pocoo style一致。JavaScript代码参考Google的Coding Form Python代码参考pocoo style一致。JavaScript代码参考Google的Coding Format说明。 -## 项目骨架 - -## 项目骨架 - -说明如下: - -``` -. -├── assets // app目录 -│ ├── admin.py -│ ├── apps.py // 新版本django app设置文件 -│ ├── api.py // api文件 -│ ├── __init__.py -│ ├── migrations // models Migrations版本控制目录 -│ │ └── __init__.py -│ ├── models.py // 数据模型目录 -│ ├── static // app下静态资源目录 -│ │ └── assets // 多一层目录,防止资源重名 -│ │ │ └── some_image.png -│ ├── templates // app下模板目录 -│ │ └── assets // 多一层目录,防止资源重名 -│ │ │ └── asset_list.html -│ ├── templatetags // 模板标签目录 -│ ├── tests.py // 测试用例文件 -│ ├── urls.py // urlconf文件 -│ └── views.py // views文件 -├── docs // 所有doc文件放到该目录 -│ └── README.md -├── jumpserver // 项目设置目录 -│ ├── __init__.py -│ ├── settings.py // 项目设置文件 -│ ├── urls.py // 项目入口urlconf -│ └── wsgi.py -├── LICENSE -├── manage.py -├── README.md -├── static // 项目静态资源目录 -└── templates // 项目模板目录 -``` ### Go项目 diff --git a/docs/project_structure.md b/docs/project_structure.md new file mode 100644 index 000000000..073b47054 --- /dev/null +++ b/docs/project_structure.md @@ -0,0 +1,42 @@ +## 项目骨架 + +## 项目骨架 + +说明如下: + +``` +. +├── config-example.py // 配置文件样例 +├── docs // 所有doc文件放到该目录 +│ └── README.md +├── LICENSE +├── README.md +├── install // 安装说明 +├── dashboard +│ └── assets // app目录 +│ │ ├── admin.py +│ │ ├── apps.py // 新版本django app设置文件 +│ │ ├── api.py // api文件 +│ │ ├── __init__.py +│ │ ├── migrations // models Migrations版本控制目录 +│ │ └── __init__.py +│ │ ├── models.py // 数据模型目录 +│ │ ├── static // app下静态资源目录 +│ │ │ └── assets // 多一层目录,防止资源重名 +│ │ │ └── some_image.png +│ │ ├── templates // app下模板目录 +│ │ └── assets // 多一层目录,防止资源重名 +│ │ └── asset_list.html +│ │ ├── templatetags // 模板标签目录 +│ │ ├── tests.py // 测试用例文件 +│ │ ├── urls.py // urlconf文件 +│ │ └── views.py // views文件 +│ ├── jumpserver // 项目设置目录 +│ │ ├── __init__.py +│ │ ├── settings.py // 项目设置文件 +│ │ ├── urls.py // 项目入口urlconf +│ │ └── wsgi.py +│ ├── manage.py +│ ├── static // 项目静态资源目录 +│ └── templates // 项目模板目录 +```