| added installation guide to README - reportable - Fork of reportable required b… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 7cd9137162fe9664c9841da476ada5316e015c0f | |
| parent 84264f207621302f541bdd286319ccbc317310b9 | |
| Author: marcoow <[email protected]> | |
| Date: Mon, 15 Dec 2008 23:09:34 +0800 | |
| added installation guide to README | |
| Signed-off-by: Marco Otte-Witte <[email protected]> | |
| Diffstat: | |
| M README.rdoc | 22 ++++++++++++++++++++++ | |
| M rdoc/created.rid | 2 +- | |
| M rdoc/files/README_rdoc.html | 33 +++++++++++++++++++++++++++++… | |
| 3 files changed, 55 insertions(+), 2 deletions(-) | |
| --- | |
| diff --git a/README.rdoc b/README.rdoc | |
| @@ -22,6 +22,28 @@ You can than render sparklines for these reports with sparkl… | |
| <%= sparkline_tag(User.registrations_report) %> | |
| +== Installation | |
| + | |
| +Installation requires 2 simple steps: | |
| + | |
| +<b>get the plugin</b> | |
| + | |
| +From your RAILS_ROOT in Rails >= 2.1, do | |
| + | |
| + ./script/plugin install git://github.com/mk/reports_as_sparkline.git | |
| + | |
| +If you are on Rails < 2.1, do this from your RAILS_ROOT | |
| + | |
| + git clone git://github.com/mk/reports_as_sparkline.git vendor/plugins/report… | |
| + | |
| +<b>generate migration</b> | |
| + | |
| + ./script/generate report_as_sparkline_migration add_report_as_sparkline_tabl… | |
| + | |
| +<b>migrate</b> | |
| + | |
| + rake db:migrate | |
| + | |
| == TODOs/ future plans | |
| * support for Oracle and DB2 (and others?) missing | |
| diff --git a/rdoc/created.rid b/rdoc/created.rid | |
| @@ -1 +1 @@ | |
| -Thu, 11 Dec 2008 20:20:59 +0100 | |
| +Mon, 15 Dec 2008 16:09:19 +0100 | |
| diff --git a/rdoc/files/README_rdoc.html b/rdoc/files/README_rdoc.html | |
| @@ -56,7 +56,7 @@ | |
| </tr> | |
| <tr class="top-aligned-row"> | |
| <td><strong>Last Update:</strong></td> | |
| - <td>Thu Dec 11 20:20:56 +0100 2008</td> | |
| + <td>Mon Dec 15 16:08:44 +0100 2008</td> | |
| </tr> | |
| </table> | |
| </div> | |
| @@ -102,6 +102,37 @@ view: | |
| <pre> | |
| <%= sparkline_tag(User.registrations_report) %> | |
| </pre> | |
| +<h2>Installation</h2> | |
| +<p> | |
| +Installation requires 2 simple steps: | |
| +</p> | |
| +<p> | |
| +<b>get the plugin</b> | |
| +</p> | |
| +<p> | |
| +From your RAILS_ROOT in Rails &gt;= 2.1, do | |
| +</p> | |
| +<pre> | |
| + ./script/plugin install git://github.com/mk/reports_as_sparkline.git | |
| +</pre> | |
| +<p> | |
| +If you are on Rails &lt; 2.1, do this from your RAILS_ROOT | |
| +</p> | |
| +<pre> | |
| + git clone git://github.com/mk/reports_as_sparkline.git vendor/plugins/report… | |
| +</pre> | |
| +<p> | |
| +<b>generate migration</b> | |
| +</p> | |
| +<pre> | |
| + ./script/generate report_as_sparkline_migration add_report_as_sparkline_tabl… | |
| +</pre> | |
| +<p> | |
| +<b>migrate</b> | |
| +</p> | |
| +<pre> | |
| + rake db:migrate | |
| +</pre> | |
| <h2>TODOs/ future plans</h2> | |
| <ul> | |
| <li>support for Oracle and DB2 (and others?) missing |