https://github.com/myminwang/myblog
Python+Django+MySQL 博客系统
https://github.com/myminwang/myblog
django mysql python3
Last synced: about 1 month ago
JSON representation
Python+Django+MySQL 博客系统
- Host: GitHub
- URL: https://github.com/myminwang/myblog
- Owner: myminwang
- License: agpl-3.0
- Created: 2018-07-03T09:54:09.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T01:44:31.000Z (over 2 years ago)
- Last Synced: 2024-10-30T22:39:41.403Z (6 months ago)
- Topics: django, mysql, python3
- Language: Python
- Homepage:
- Size: 20.1 MB
- Stars: 490
- Watchers: 14
- Forks: 169
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Django搭建个人博客

[]()使用Django快速搭建博客
### 环境
* Python: 3.X
* Django: 2.0.x
* MySQL### 特点
* 博客文章 `markdown` 渲染,代码高亮
* 第三方社会化评论系统支持(畅言)
* 三种皮肤自由切换
* 全局搜索
* 阅读排行榜/最新评论
* 多目标源博文分享
* 博文归档
* 友情链接
* 分享、打赏功能### 下载
```
git clone https://github.com/myminwang/myblog.git
```### 安装
```
pip install -r requirements.txt #安装所有依赖
setting.py配置自己的数据库
配置畅言:到http://changyan.kuaizhan.com/注册站点,将templates/message.html中js部分换成你在畅言中生成的js。
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
```浏览器中打开即可访问
## Screen Shots
* 首页
* 文章列表
* 文章内容
