Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/myminwang/myblog
Python+Django+MySQL 博客系统
https://github.com/myminwang/myblog
django mysql python3
Last synced: about 2 months 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T01:44:31.000Z (about 2 years ago)
- Last Synced: 2024-08-01T18:28:06.259Z (5 months ago)
- Topics: django, mysql, python3
- Language: Python
- Homepage:
- Size: 20.1 MB
- Stars: 480
- Watchers: 14
- Forks: 167
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Django搭建个人博客
![py3.6](https://img.shields.io/badge/Python-3.6-brightgreen.svg)
[![](https://img.shields.io/badge/Django-2.0-brightgreen.svg)]()使用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
* 首页
![首页](./doc/image/image1.png)* 文章列表
![文章列表](./doc/image/image2.png)* 文章内容
![文章内容](./doc/image/image3.png)