close Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.


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/ -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.

Last modified 16 years ago Last modified on Sep 17, 2008, 2:31:55 PM