caoyu1988 / DPress

A simple blog powered by Django

Home Page:http://dpress.sinaapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DPress

DPress is a simple blog powered by Django.

demo site:

Features

run on Django dev server

  • Clone DPress repository from git://github.com/vicalloy/DPress.git
  • install virtualenv: pip install virtualenv
  • use scripts env.rc(source env.rc) to create and start DPress environment.
  • $mg is a shortcut for "python manage.py "
  • $mg syncdb
  • $mg migrate
  • $mg runserver
  • DPress Admin http://127.0.0.1:8000/admin/
  • DPress http://127.0.0.1:8000/

config

  • copy sites/settings/pre.sample to sites/settings/pre.py and config it.
  • copy sites/settings/local.sample to sites/settings/local.py and config it.

use theme moment

  • moment is a theme designed by Hsiaoming Yang
  • copy sites/settings/pre.sample to sites/settings/pre.py
  • modify pre.py and set "SETTINGS = 'theme_moment'"

About

A simple blog powered by Django

http://dpress.sinaapp.com


Languages

Language:Python 48.3%Language:CSS 32.7%Language:HTML 16.8%Language:JavaScript 1.8%Language:Makefile 0.3%