blog-master
所属分类:网络编程
开发工具:Python
文件大小:4963KB
下载次数:5
上传日期:2017-07-25 10:03:54
上 传 者:
赫赫何
说明: 使用flask实现的个人博客系统,可以实现博客的管理和对他人博客的评论等。
(Flask implementation of personal blog system, you can achieve blog management and comments on other people's blog.)
文件列表:
LICENSE (1083, 2016-05-18)
app (0, 2016-05-18)
app\__init__.py (1647, 2016-05-18)
app\admin (0, 2016-05-18)
app\admin\__init__.py (215, 2016-05-18)
app\admin\forms.py (2207, 2016-05-18)
app\admin\views.py (6087, 2016-05-18)
app\api_1_0 (0, 2016-05-18)
app\api_1_0\__init__.py (124, 2016-05-18)
app\api_1_0\authentication.py (1254, 2016-05-18)
app\api_1_0\comments.py (2259, 2016-05-18)
app\api_1_0\decorators.py (411, 2016-05-18)
app\api_1_0\errors.py (625, 2016-05-18)
app\api_1_0\posts.py (1737, 2016-05-18)
app\api_1_0\users.py (1702, 2016-05-18)
app\auth (0, 2016-05-18)
app\auth\__init__.py (85, 2016-05-18)
app\auth\forms.py (3112, 2016-05-18)
app\auth\views.py (6729, 2016-05-18)
app\decorators.py (503, 2016-05-18)
app\delete.py (184, 2016-05-18)
app\email.py (673, 2016-05-18)
app\exceptions.py (44, 2016-05-18)
app\main (0, 2016-05-18)
app\main\__init__.py (220, 2016-05-18)
app\main\errors.py (1018, 2016-05-18)
app\main\forms.py (3041, 2016-05-18)
app\main\views.py (21920, 2016-05-18)
app\models.py (19644, 2016-05-18)
app\static (0, 2016-05-18)
app\static\css (0, 2016-05-18)
app\static\css\AdminLTE.min.css (86404, 2016-05-18)
app\static\css\_all-skins.min.css (41878, 2016-05-18)
app\static\css\bootstrap-theme.min.css (23357, 2016-05-18)
app\static\css\bootstrap.css (147430, 2016-05-18)
app\static\css\bootstrap.min.css (122592, 2016-05-18)
app\static\css\font-awesome.min.css (26710, 2016-05-18)
... ...
Blog
----
Preview: `http://www.vlblog.tech/`
A simple blog system based on Flask
Development
-----------
Prerequests:
1. python2.7/python3.4
2. mysql5.5+
3. Reference: Flask Web开发-基于Python的Web应用开发实战 `http://www.ituring.com.cn/book/1449`
Setup flask development:
$ git clone `https://github.com/ifwenvlook/blog.git`
$ cd /blog
$ pip install -r requirements/dev.txt
Quick Start Blog
-----------
Run Mysql、redit and celery:
$service redis start
$service mysqld start
$celery worker -A celery_worker.celery -l INFO &
Create testdata and upgrade to mysql:
$ python manage.py db init
$ python manage.py db migrate
$ python manage.py db upgrade
$ python manage.py datainit
$ python manage.py runserver
Visit: `http://127.0.0.1:5000/`
近期下载者:
相关文件:
收藏者: