a personal website app based on RDF
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
static
templates
utils
LICENSE
README.mkdn
TODO
app.py
config.py.sample
controllers.py
mkstatic.py
models.py

README.mkdn

MySite

Introduction

This is a personal website application designed for my own use as a scholar and teacher who has to manage a lot of disparate information. As a result, I wanted a struuctured foundation that was nevertheless flexible. To wit, the data model is RDF, and the content is served up using a combination of RDFAlchemy and web.py. Adding new objects just involves adding a URL mapping and a template.

Usage

This application has two different modes: static and dynamic. In either case, first create a config.py file similar to the config.py.sample.

To generate a static site, run the following:

python mkstatic.py [options] [output directory]

To run dynamically, simply do:

python application.py

Requirements

  • RDFLib
  • RDFAlchemy
  • web.py (0.3 dev version)