README.md in pdfkit-middleware-to-file-0.5.4 vs README.md in pdfkit-middleware-to-file-0.5.5
- old
+ new
@@ -1,4 +1,21 @@
+# UPDATES -
+ save pdf serverside and on repository if necessary ( combination of basic knowledge of sftp, cracking open the gem, and some stack overflow knowledge )
+ gem install pdfkit-middleware-to-file
+
+## Uploads
+ PDFKit.configure do |config|
+ config.upload_options = {
+ :host => <your_host>
+ :user => <your_user>
+ :password => <your_password>
+ :folder => <your_remote_folder>
+ }
+ end
+
+## Downloads
+ In controller, set header['PDF-Full-File-Path'] = <your_local_full_path_to_save_to>
+
# PDFKit
Create PDFs using plain old HTML+CSS. Uses [wkhtmltopdf](http://github.com/antialize/wkhtmltopdf) on the back-end which renders HTML using Webkit.
## Install