# aiohttp_template **Repository Path**: shadaileng/aiohttp_template ## Basic Information - **Project Name**: aiohttp_template - **Description**: aiohttp的模板 - **Primary Language**: Python - **License**: WTFPL - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2020-05-14 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # aiohttp_template #### 介绍 aiohttp的模板 #### 软件架构 软件架构说明 ```text aiohttp_template ├── config │   └── website.yaml ├── data │   └── demo.db ├── LICENSE ├── README.en.md ├── README.md ├── requirements.txt └── www ├── app.py ├── coreweb.py ├── db.py ├── download_m3u8.py ├── fileutils.py ├── logger.py ├── middlewares.py ├── proxyutils.py ├── settings.py ├── static │   ├── 404.png │   ├── app.css │   ├── favicon.ico │   ├── filedrop.js │   ├── folder.png │   ├── leimu.jpg │   └── qs.js ├── templates │   ├── __base__.html │   ├── database.html │   ├── file.html │   ├── index.html │   └── proxy.html ├── view_database.py ├── view_file.py └── view_proxy.py ``` #### 安装教程 1. 下载项目 ```bash $ git clone https://gitee.com/shadaileng/aiohttp_template.git ``` 2. 初始化项目 ```bash $ virtualenv .venv $ . .venv/bin/activate $ pip install -r requirements.txt -i https://pypi.douban.com/simple $ python www/db.py ``` 3. 启动项目 - 默认绑定`0.0.0.0:8080` ```bash $ python www/app.py ``` - 传入参数 ```bash $ python www/app.py host=127.0.0.2 port=8800 ``` #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request - [showdownjs/showdown](https://github.com/showdownjs/showdown.git) - [aiohttp你不知道的异步操作网络请求](https://www.cnblogs.com/xujunkai/p/11428313.html) - [aiohttp web服务端(server)样例 (非client)](https://www.cnblogs.com/sherlockhomles/archive/2017/12/21/8080971.html) - [子进程集](https://docs.python.org/zh-cn/3/library/asyncio-subprocess.html#asyncio-subprocess) - [CodeMirror 编辑器文本框 TextArea 代码高亮插件](https://www.wenjiangs.com/article/codemirror.html) - [使用 CodeMirror 打造在线代码编辑器](https://blog.csdn.net/qq_37193537/article/details/88426196) - [CodeMirror](https://codemirror.net/) #### 码云特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)