From 2bf746736bce59f2b81c4a13757bc0f5e0e43d98 Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Wed, 23 Jun 2010 23:24:21 +0100 Subject: Rename stuff to jarmon --- README | 13 +- docs/nginx.conf.example | 9 +- index.html | 29 +- jarmon.js | 773 ++++++++++++++++++++++++++++++++++++++++++++++++ jrrd.js | 773 ------------------------------------------------ 5 files changed, 803 insertions(+), 794 deletions(-) create mode 100644 jarmon.js delete mode 100644 jrrd.js diff --git a/README b/README index 9c79362..39ce717 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -jrrd 0.0.1 +Jarmon 0.0.1 What is this? @@ -19,15 +19,16 @@ This demo is designed to work with the RRD files generated by $ aptitude install collectd # Create a project folder and check out the code -$ mkdir ~/Projects -$ cd ~/Projects -$ bzr branch lp:~richardw/+junk/rrd2flot -$ cd rrd2flot +$ mkdir -p ~/Projects/Jarmon +$ cd ~/Projects/Jarmon +$ bzr branch lp:~richardw/jarmon/trunk +$ cd trunk # Link to the collectd rrd folder $ ln -s /var/lib/collectd/rrd/localhost data -# Start a local webserver +# Start a local webserver - here we use Twisted, but there are other web server +# config examples in docs/ $ aptitude install twisted $ twistd -n web --port 8080 --path . diff --git a/docs/nginx.conf.example b/docs/nginx.conf.example index 402999c..73420f1 100644 --- a/docs/nginx.conf.example +++ b/docs/nginx.conf.example @@ -34,7 +34,14 @@ http { fastcgi_temp_path /tmp/nginx_fastcgi; types { - application/octet-stream rrd; + application/octet-stream rrd; + text/html html htm shtml; + text/css css; + text/xml xml rss; + image/gif gif; + image/jpeg jpeg jpg; + application/x-javascript js; + text/plain txt; } server { diff --git a/index.html b/index.html index a09903b..ad73251 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,8 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - RRD Charts + Jarmon - customisable, Javascript generated charts from + Collectd RRD data @@ -22,12 +23,12 @@ - +