diff options
author | Steve Losh <steve@stevelosh.com> | 2009-01-29 21:41:39 -0500 |
---|---|---|
committer | Steve Losh <steve@stevelosh.com> | 2009-01-29 21:41:39 -0500 |
commit | ee7c28659703f2f832eeadfbc1d13607e845e39a (patch) | |
tree | 7191c5612d5a79bbfaaf69b6f0c195f4b282ca2a /cfbe.py | |
parent | 17bd39c87dc4133d4e31ec0fd11e155f3fe209a9 (diff) | |
download | bugseverywhere-ee7c28659703f2f832eeadfbc1d13607e845e39a.tar.gz |
Got the static serving working.
Diffstat (limited to 'cfbe.py')
-rwxr-xr-x | cfbe.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,11 +4,11 @@ import cherrypy from libbe import bugdir from jinja2 import Environment, FileSystemLoader -template_root = '/Users/sjl/Documents/cherryflavoredbugseverywhere/templates' bug_root = '/Users/sjl/Documents/stevelosh/.be' bd = bugdir.BugDir(root=bug_root) bd.load_all_bugs() +template_root = '/Users/sjl/Documents/cherryflavoredbugseverywhere/templates' env = Environment(loader=FileSystemLoader(template_root)) class WebInterface: @@ -20,4 +20,5 @@ class WebInterface: return template.render(bugs=bd) -cherrypy.quickstart(WebInterface()) +config = '/Users/sjl/Documents/cherryflavoredbugseverywhere/cfbe.config' +cherrypy.quickstart(WebInterface(), '/', config) |