Permalink
Browse files

Updated README and proper dompdf submodule path

  • Loading branch information...
1 parent e53e4ce commit 6cf21ab9db28ad1469d6f9b3ca8cc9a288d6c720 @shadowhand committed Nov 18, 2009
Showing with 21 additions and 1 deletion.
  1. +1 −1 .gitmodules
  2. +20 −0 README.md
View
2 .gitmodules
@@ -1,3 +1,3 @@
[submodule "vendor/dompdf"]
path = vendor/dompdf
- url = git://github.com/shadowhand/dompdf
+ url = git://github.com/shadowhand/dompdf.git
View
20 README.md
@@ -4,6 +4,26 @@ Extension for Kohana's View class that renders as a PDF instead of HTML. Uses [D
**Please report all bugs related to PDF rendering to the [DOMPDF issue tracker](http://code.google.com/p/dompdf/issues/list).**
+## Installation
+
+If your application is a Git repository:
+
+ git submodule add git://github.com/shadowhand/pdfview.git modules/pdfview
+ git submodule update --init
+
+Or clone the the module separately:
+
+ cd modules
+ git clone git://github.com/shadowhand/pdfview.git pdfview
+
+Edit `application/bootstrap.php` and add a the module:
+
+ Kohana::modules(array(
+ ...
+ 'pdfview' => 'modules/pdfview',
+ ...
+ ));
+
## Usage
Placed in a controller action:

0 comments on commit 6cf21ab

Please sign in to comment.