Another python blog with webpy
CSS JavaScript Python Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
conf
docs
scripts
templates
.gitignore
README
README.md
blog.py
cjutils.py
ctlapp.sh
model.py
schema.sql
static

README.md

This is a Blog started with python and webpy.

HOWTO start

  • Install nginx

    wget http://nginx.org/download/nginx-1.2.0.tar.gz ./configure make sudo make install

  • Install webpy

    sudo easy_install web.py

  • Install spawn-fcgi

    wget http://www.lighttpd.net/download/spawn-fcgi-1.6.3.tar.gz

  • Install flup

    hg clone http://hg.saddi.com/flup-server

  • Install postgresql

    sudo apt-get install postgresql

  • Install psycopg2

    sudo apt-get install python-psycopg2

  • Install docutils

    sudo apt-get install python-docutils

  • Install jinja2

    sudo easy_install jinja2

  • Copy nginx daemon script

    cp scripts/nginx /etc/init.d/

  • Copy nginx confs

    cp conf/nginx.conf /usr/local/nginx/conf/ cp conf/johnnyblog.conf /etc/nginx/sites-enabled/

  • Start nginx
  • Start spawn-fcgi

Get Source Code

git clone https://JohnChance@github.com/JohnChance/JohnnyBlog.git

DB

Postgresql

Directory index

├── blog.py ├── conf │   └── johnnyblog.conf # Nginx configuration ├── ctlapp.sh # Spawn-fcgi shell ├── docs # Documentation ├── model.py ├── README # Baby, it's me!! ├── schema.sql ├── static -> templates/assets/ └── templates ├── assets │   ├── css │   │   ├── bootstrap.css │   │   ├── bootstrap.min.css │   │   ├── bootstrap-responsive.css │   │   └── bootstrap-responsive.min.css │   ├── img │   │   ├── glyphicons-halflings.png │   │   └── glyphicons-halflings-white.png │   └── js │   ├── bootstrap.js │   └── bootstrap.min.js ├── base.html ├── edit.html ├── index.html ├── new.html └── view.html