Skip to content

suqi/mdpress

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##mdpress

Introduction

Another blog system writen by Flask and Redis. Not Mysql or Mongodb. I develop it for wordpress lower speed and i want to focus on writting blog and sometime i can try difference template, and add some widgets.

Mdpress can fullfill my requirements, and it's blog editor base on Editor.md.

Demo:

Angiris Council

Solved Problem

  • Fast Load Speed
  • Beauty Display And Theme Support
  • Post Search
  • Images Links Manager

Feature

  • Strong Diretory(Category Levels) Support
  • Super good search support
  • Code highlight
  • Convenience images upload
  • Unicon images admin

Usage

  1. Create Virtual Enviroment
virtualenv mdpenv
source mdpenv/bin/activator
  1. Install Dependences
pip install -r utils/requirements.txt
  1. Config Development Configuration
vim config/development.py

make sure your redis config is right and redis-server is running:

REDIS_CONFIG = {
    'HOST': 'localhost',
    'PORT': 6379,
    'DB': 10
}
  1. Running Server

Now, it is time to run server:

python manager runserver

and access it by browser with url:

http://localhost:5000

you will see the index page as show below...

###Dependence

Python == 2.7
Reids >= 3.0.0

and some python lib dependences can be installed by pip.

###About Me

Want to know more about author, please visit: liuliqiang.info

###Screen Shoot Index Archive

Admin Login 1.pi Admin Main 2.pi Post List 3.pi Post Editing 4.pic_hd Tags List 5.pi

TODOs

  • dashboard data correct
  • convert markdown to html -- 2016-7-30 00:42:08
  • import wordpress html to markdown -- 2016-7-30 23:43:16
  • import wordpress post title html decode -- 2016-7-31 00:10:31
  • code highlight
  • template manager
  • image admins
  • category level manager
  • post search
  • duosuho configs

###Updated History

  • v0.1

    • 2015-02-18 14:38:03

    create project, and implement base feature

  • v0.2

    • 2015-02-21 11:57:03

    add save and view post feature

  • v0.3

    • 2016-06-04 13:03:31

    refactor whole project structure

  • v0.4

    • 2016-7-28 22:34:36

    add redis models support add theme and jade template support

About

An Interesting Blog Produced By Python(Flask)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 51.1%
  • HTML 23.1%
  • CSS 19.7%
  • Python 5.0%
  • PHP 0.8%
  • CoffeeScript 0.3%