Skip to content
sv1jsb edited this page Feb 22, 2012 · 10 revisions

Welcome to the pCMS wiki! A few suggestions for starting up with this project.

Installation

Download a zip file of this repository and unzip it in a directory named pCMS.

Setup

Settings.py assumes the following directories are present under project's root: media, static, log.

Go ahead and create those.

  • media will be where uploaded images of the pages will be held.
  • static is where all static content will be copied if you run python manage.py collectstaic
  • log is for logging errors when not in debug mode.

In order for elfinder's thumbnail image creation to work a .tmb directory must be present under media.

Running

First sync the database.

python manage.py syncdb

You will prompted for admin's username, email and password, and the database will be ready.

Then run:

python manage.py runserver

Point your browser at http://127.0.0.1:8000/admin and login. Go to Flatpages and add one with url only /. This will be your home page. Point at http://127.0.0.1:8000/ to see it.

Your're all set.

More info at [Further customization](wiki/Further customization)

Clone this wiki locally