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.

Version 2 (modified by cmlenz, 16 years ago) (diff)

--

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:

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