--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wsgi-dev.py Tue Nov 02 04:11:06 2010 +0200
@@ -0,0 +1,27 @@
+"""
+ Simple test server/environment for WSGI development
+"""
+
+import werkzeug
+
+from rrdweb import wsgi
+
+import logging
+
+
+if __name__ == '__main__' :
+ logging.basicConfig(format="[%(levelname)5s] %(funcName)25s : %(message)s", level=logging.DEBUG)
+
+ app = wsgi.WSGIApp(
+ rrdpath = 'rrd/',
+ tplpath = 'etc/templates',
+ imgpath = 'img/',
+ )
+
+ # run
+ werkzeug.run_simple('localhost', 8081, app, use_reloader=True, use_debugger=True,
+ static_files = {
+ '/static': 'static/',
+ },
+ )
+