Skip to content
/ blog Public
forked from ifwenvlook/blog

A simple blog system based on Flask

License

Notifications You must be signed in to change notification settings

Ford-Ma/blog

 
 

Repository files navigation

Blog

Preview: `https://www.vlblog.tech/`(网站已到期,Sorry)

A simple blog system based on Flask

Development

Prerequests:

  1. python2.7/python3.4
  2. mysql5.5+
  3. Reference: Flask Web开发-基于Python的Web应用开发实战 https://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: https://127.0.0.1:5000/

About

A simple blog system based on Flask

https://www.vlblog.tech/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 41.0%
  • Python 31.5%
  • JavaScript 26.4%
  • Other 1.1%