Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This code is no longer maintained! Go to:
Python CSS JavaScript
Branch: ajax
Pull request Compare This branch is 2 commits ahead, 5 commits behind master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
static
themes/default
.gitignore
LICENSE
README.md
aweb.py
server.py
siteconfig.py
sqlitedb

README.md

Simple blog using web.py and Browserid

Note

This is a work in progress. Do not try it, even at home. Your computer might explode!

Description

Three hours of work so far, basic functionality is there. Able to create new posts and they're fetched from the db to the front page.

Update Mar 15. Starting to look like something.

The plan is to build a basic, themeable blog software using web.py as backend and BrowserID as authentication method.

Install/requirements

First of all you obviously need web.py.

$ git clone https://github.com/webpy/webpy.git
$ cd webpy
# python setup.py install

Then you need to install sqlite3 which should be found in your package manager. Create the database with the command:

$ sqlite3 sqlitedb

Then, in sqlite:

sqlite> create table posts (id integer primary key, date text, title text, url text, content text, published integer, author text);
sqlite> create table comments (id integer primary key, date text, email text, name text, comment text, pid integer);

That's it if I'm not mistaken. Run it with:

$ python server.py

and direct your browser to http://localhost:8080

Something went wrong with that request. Please try again.