Skip to content
This repository has been archived by the owner on Apr 9, 2019. It is now read-only.

Commit

Permalink
Fix: config bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
liuliqiang committed Feb 17, 2017
1 parent c417f26 commit 8394e09
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 44 deletions.
65 changes: 26 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,15 @@ Mdpress can fullfill my requirements, and it's blog editor base on [Editor.md](h

### Demo:

[Angiris Council](http://liuliqiang.info)

### Solved Problem
[Liuliqiang.info](http://liuliqiang.info)

### Feature
- [x] Fast Load Speed
- [x] Beauty Display And Theme Support
- [x] Post Search
- [x] Code highlight
- [x] Images Links Manager

### Feature

- [x] Strong Diretory(Category Levels) Support
- [x] Super good search support
- [x] Code highlight
- [x] Convenience images upload
- [x] Unicon images admin

### Usage

Expand All @@ -35,16 +28,19 @@ virtualenv mdpenv
source mdpenv/bin/activator
```

2. Install Dependences
2. Install Dependences(Ubuntu)

```bash
pip install -r utils/requirements.txt
sh -x utils/install.sh
git clone https://github.com/yetship/pyjade.git
cd pyjade & python setup.py install
```

3. Config Development Configuration

```bash
vim config/development.py
vim config/worker.py
```

make sure your redis config is right and redis-server is running:
Expand Down Expand Up @@ -82,10 +78,9 @@ 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](http://liuliqiang.info)
Want to know more about author, visit my personal blog [liuliqiang.info](http://liuliqiang.info)


###Screen Shoot
Expand All @@ -105,40 +100,32 @@ Want to know more about author, please visit: [liuliqiang.info](http://liuliqi
**Tags List**
![5.pi](http://ooo.0o0.ooo/2016/07/27/579978398a840.jpg)


### TODOs

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


###Updated History

- v0.1
- 2015-02-18 14:38:03
- 2015-02-18 14:38:03

create project, and implement base feature
create project, and implement base feature

- v0.2
- 2015-02-21 11:57:03

add save and view post feature
- 2015-02-21 11:57:03
add save and view post feature

- v0.3
- 2016-06-04 13:03:31
- 2016-06-04 13:03:31

refactor whole project structure
refactor whole project structure

- v0.4
- 2016-7-28 22:34:36
- 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

add redis models support
add theme and jade template support
5 changes: 0 additions & 5 deletions config/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ class Config(object):

# Template Theme
THEME = "MinimalBox"
# THEME = "default"
THEME_KEY = "mdpress:theme"
TEMPLATE_PREFIX = "mdpress:template:theme"
AUTO_RELOAD_TEMPLATE = True
Expand Down Expand Up @@ -45,10 +44,6 @@ class Config(object):
MAIL_USERNAME = "your email"
MAIL_PASSWORD = "your email password"

# elastic search support
ELASTICSEARCH_SUPPORT = False
ELASTICSEARCH_HOST = "127.0.0.1:9200"

# code highlight style
HIGHLIGHT_STYLE = "vim"

Expand Down

0 comments on commit 8394e09

Please sign in to comment.