Skip to content

Commit

Permalink
minor #230 change information on WKHTMLTOPDF_PATH in README (Dennisde…
Browse files Browse the repository at this point in the history
…Best)

This PR was merged into the 1.0-dev branch.

Discussion
----------

The configuration for the WKHTMLTOPDF_PATH is in the .env file, the yaml configuration file uses the environment variable.

Commits
-------

4f0db73 change information on WKHTMLTOPDF_PATH in README
  • Loading branch information
GSadee authored Jul 27, 2021
2 parents a7e2b18 + 4f0db73 commit d108c14
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,10 @@ Additional feature of the plugin that fulfills Invoicing domain is the ability t

3. Check if you have wkhtmltopdf binary. If not, you can download it [here](https://wkhtmltopdf.org/downloads.html).

In case wkhtmltopdf is not located in /usr/local/bin/wkhtmltopdf, add a following snippet at the end of your application's config.yml:
In case wkhtmltopdf is not located in /usr/local/bin/wkhtmltopdf modify the `WKHTMLTOPDF_PATH` environment variable in the `.env` file:

```
knp_snappy:
pdf:
enabled: true
binary: /usr/local/bin/wkhtmltopdf # Change this! :)
options: []
WKHTMLTOPDF_PATH=/usr/local/bin/wkhtmltopdf # Change this! :)
```

4. If you want to generate invoices for orders placed before plugin's installation run the following command using your terminal:
Expand Down

0 comments on commit d108c14

Please sign in to comment.