Skip to content

Commit

Permalink
Merge pull request gutschilla#55 from richeterre/patch-1
Browse files Browse the repository at this point in the history
Document `prefer_system_executable` for chrome-headless
  • Loading branch information
gutschilla authored Jun 18, 2019
2 parents 1938bb0 + 863cf36 commit e61acf2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,13 @@ config :pdf_generator,
pdftk_path: "/usr/bin/pdftk" # <-- only needed for PDF encryption
```

or, if you prefer shrome-headless
or, if you prefer chrome-headless

```
config :pdf_generator,
use_chrome: true, # <-- make sure you installed node/puppetteer
raise_on_missing_wkhtmltopdf_binary: false # <-- so the app won't complain about a missing wkhtmltopdf
use_chrome: true, # <-- make sure you installed node/puppeteer
prefer_system_executable: true # <-- set this if you installed the NPM dependencies globally
raise_on_missing_wkhtmltopdf_binary: false, # <-- so the app won't complain about a missing wkhtmltopdf
```

## More options
Expand Down

0 comments on commit e61acf2

Please sign in to comment.