Simple Breve Webserver

1 view
Skip to first unread message

Cliff Wells

unread,
Apr 18, 2008, 6:06:08 PM4/18/08
to breve-...@googlegroups.com
I've implemented a *very* simple WSGI server (borrowing code from
wsgi-fileserver for serving static files) and committed it to SVN.

This is just meant to be a way to quickly preview Breve templates
without needing a framework installed.

The code is under tools/breve_server or from:
http://www.ashbyte.com/breve/browser/trunk/tools/breve_server

It's clearly alpha code (I whipped it up about 10 minutes ago), but
feedback, ideas, patches welcome. Next up is to add some way to easily
configure it (port, template root, static file root, etc). I'd also
like to find a simple way to populate templates with test variables (by
"simple" I mean easy enough for a non-Python savvy designer to use).

It includes a test template (and a couple static files) for testing.
Just run ./breve_server and point your browser at 127.0.0.1:9999 to see
it in action.

Regards,
Cliff

Reply all
Reply to author
Forward
0 new messages