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.

Changes between Version 1 and Version 2 of Geddit


Ignore:
Timestamp:
Jul 7, 2008, 9:37:52 PM (16 years ago)
Author:
cmlenz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Geddit

    v1 v2  
    22
    33Geddit is an example application [source:trunk/diva/examples/geddit included] with Diva. It was ported from the [http://www.cherrypy.org/ CherryPy]-based [http://genshi.edgewall.org/wiki/GenshiTutorial Genshi tutorial].
     4
     5== Database Creation ==
     6
     7This example uses SQLite. To initialize the database, use the following command from the Geddit source directory:
     8
     9{{{
     10sqlite3 geddit.db < geddit/conf/schema.sql
     11}}}
     12
     13This should create a `geddit.db` file in the current directory, and create the `link` and `comment` tables used by the application.
     14
     15== Running the Application ==
     16
     17Now, you can run the example app by invoking the following command from the Geddit source directory:
     18
     19{{{
     20python geddit/app.py -rv
     21}}}
     22
     23This enables verbose logging and automatic reloading. You should now be able to visit the site at http://localhost:8080/.
     24