Geddit

Geddit is an example application included with Diva. It was ported from the  CherryPy-based  Genshi tutorial.

Database Creation

This example uses SQLite. To initialize the database, use the following command from the Geddit source directory:

sqlite3 geddit.db < geddit/conf/schema.sql

This should create a geddit.db file in the current directory, and create the link and comment tables used by the application.

Running the Application

Now, you can run the example app by invoking the following command from the Geddit source directory:

PYTHONPATH=. python geddit/app.py -rv

This enables verbose logging and automatic reloading. You should now be able to visit the site at  http://localhost:8080/.

Trying the Debugger

Add ?debug to any URL, and click around.