基于Python+Flask 制作的小型简单博客应用。为本人的课程设计拙作。 拥有基本的登录登出、写文章、新建文章、编辑文章等功能。
Python、HTML、CSS、JavaScript
Flask、peewee、jQuery、Primer
SQLite
.
├── app.py 基本文件
├── config.py 配置文件
├── data 数据库文件夹
├── model.py 核心类文件
├── requirements.txt 必需安装模块清单
├── static 静态文件夹
│ ├── css
│ ├── fonts
│ ├── img
│ ├── js
└── templates 模板文件
-
通过
git clone
下载本repgit clone https://github.com/Jeff2Ma/Simple-Blog-With-Flask
-
通过虚拟沙盒方式运行激活
virtualenv Simple-Blog-With-Flask cd Simple-Blog-With-Flask/ source bin/activate
-
安装相关模块
pip install -r requirements.txt
-
启动本地服务器
python app.py
-
最后通过 http://127.0.0.1:5000/ 访问即可。
- BeautifulSoup==3.2.1
- Flask==0.10.1
- itsdangerous==0.24
- Jinja2==2.8
- Markdown==2.6.4
- MarkupSafe==0.23
- micawber==0.3.3
- peewee==2.6.4
- Pygments==2.0.2
- Werkzeug==0.11
- wheel==0.24.0
-
相关输入框的后端验证功能
-
评论框
-
文章标签功能
-
多用户、用户管理功能