GithubHelp home page GithubHelp logo

lauzoo / mdpress Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 6.0 10.49 MB

An Interesting Blog Produced By Python(Flask)

License: Apache License 2.0

CSS 19.72% JavaScript 51.02% HTML 23.14% PHP 0.80% Python 4.98% Shell 0.02% CoffeeScript 0.33%

mdpress's Introduction

##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:

Liuliqiang.info

Feature

  • Fast Load Speed
  • Beauty Display And Theme Support
  • Code highlight
  • Images Links Manager
  • Strong Diretory(Category Levels) Support
  • Super good search support

Usage

  1. Create Virtual Enviroment
virtualenv mdpenv
source mdpenv/bin/activator
  1. Install Dependences(Ubuntu)
sh -x utils/install.sh
git clone https://github.com/yetship/pyjade.git
cd pyjade & python setup.py install
  1. Config Development Configuration
vim config/development.py
vim config/worker.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, visit my personal blog : 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

###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

  • v0.1.prerelease

    • 2017-02-18 00:39:15

    fix runing bugs fix dependence error

mdpress's People

Contributors

liuliqiang avatar luke0922 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mdpress's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.