Skip to content

Commit

Permalink
[Docs] Updated installation guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafikooo committed Apr 21, 2022
1 parent 761bea0 commit 699782d
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,22 @@ From Administrator's point of view, every Refund request results in creating two
cp -R vendor/sylius/refund-plugin/src/Resources/views/SyliusAdminBundle/* templates/bundles/SyliusAdminBundle/
```

1. 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` modify the `WKHTMLTOPDF_PATH` environment variable in the `.env` file:

```
WKHTMLTOPDF_PATH=/usr/local/bin/wkhtmltopdf # Change this! :)
```
1. Default configuration assumes enabled PDF file generator. If you don't want to use that feature change your app configuration:
```yaml
# config/packages/sylius_refund.yaml
sylius_refund:
pdf_generator:
enabled: false
```
Otherwise, 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` modify the `WKHTMLTOPDF_PATH` environment variable in the `.env` file:
```
WKHTMLTOPDF_PATH=/usr/local/bin/wkhtmltopdf # Change this! :)
```
#### Beware!
Expand Down

0 comments on commit 699782d

Please sign in to comment.