Skip to content

Commit

Permalink
fix(wkhtmltopdf-broken)
Browse files Browse the repository at this point in the history
* fixed a typo
* updated readme
* bumped version to 1.0.1
  • Loading branch information
floriancrusius committed Jul 15, 2024
1 parent 2153c0b commit df7210b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ Once logrotate is installed, you can use the capistrano-ops tasks to manage it.

## Wkhtmltopdf Setup

This script is used to setup `wkhtmltopdf-binary` in your deployment environment. It is designed to work with Capistrano.
This script is used to setup `wkhtmltopdf-binary` in your deployment environment for `WickedPdf`. It is designed to work with Capistrano.

The main task `setup` is hooked to run after the `deploy:symlink:release` task.
It performs the following operations:
Expand All @@ -368,6 +368,7 @@ for example:
# config/initializers/wicked_pdf.rb
WickedPdf.config = {
exe_path: "#{Bundler.bundle_path}/gems/wkhtmltopdf-binary-0.12.6.6/bin/wkhtmltopdf_ubuntu_18.04_amd64",
# Attention: set the used binary file version also in the Gemfile
}
```

Expand Down

0 comments on commit df7210b

Please sign in to comment.