Total Pageviews

Monday 17 February 2014

一个基于django的博客程序:django-mingus

A Django blog engine leveraging only existing reusable apps, and django-snippets. The project itself defines no models (db schemas).
The project was conceptualized for a Django-NYC lightening talk, with the goal of introducing Django developers to the concepts behind integrating existing reusable apps in their project, as well as leveraging virtualenv, virtualenv wrapper, and pip into the workflow.
To read more about all the reusable apps that Mingus employs, read The apps that power Django-Mingus.
It also comes with 5 default themes to choose from (really just varying color schemes). They are Basic, Dark, Django, Minimal, and JeffCroft. You can view them here
Please submit issues, bugs, ideas, suggestion, etc., on the project issues page.

Real World Examples

To see it live in action, view:
http://blog.montylounge.com
http://ericholscher.com/
http://apluggedinlife.com/fr/
http://blog.roseman.org.uk/
http://codysoyland.com/
http://www.ofbrooklyn.com/
http://hotsyk.com/
http://stfnkhlr.de/
http://mathematism.com/
http://baratrion.org/
http://libby.tuzig.com/
http://oswco.com/
http://serotoninstorm.com/blog/

Getting Started

I’m beginning to add docs now. They are located in the docs directory. Currently the docs include a quick-start to get you going.

from  https://github.com/montylounge/django-mingus

Quick Start

The quick start assumes basic familiarity with vitualenv, virtualenv wrapper.
Tested with pip version 0.8.3.
It also assumes you have both subversion, mecurial, and git clients locally.
  • mkvirtualenv myblog —no-site-packages
  • workon myblog
  • cd myblog
  • git clone git://github.com/montylounge/django-mingus.git
  • cd django-mingus/mingus
  • pip install -r stable-requirements.txt
  • … wait a bit
  • mv local_settings.py.template local_settings.py
  • ./manage.py syncdb
  • ./manage.py loaddata test_data.json
  • ./manage.py runserver
By default the theme is set to the Basic theme.
Django-Mingus also comes with 4 additional themes: Django(green), Minimal (black/white), Dark (black), Basic
(beige/red), JeffCroft (brown/pink). You can view them here.
To switch “themes” just change this line in templates/base.html:
You’ll notice the themes/basic.css text – change that to one of the existing themes (‘django’, ‘minimal’, ‘jeffcroft’, ‘dark’), or edit away on your own!

from https://github.com/montylounge/django-mingus/blob/master/docs/INSTALL.textile