-
Notifications
You must be signed in to change notification settings - Fork 8
Testing PDFs
chrisala edited this page Mar 19, 2019
·
1 revision
Generating PDF files from HTML pages in MERIT uses the ALA pdf-service.
As the service uses wkhtml2pdf under the hood, it needs to be able to call back into MERIT to retrieve the HTML used to generate the PDF.
To set this up:
- Run the pdf-service in a docker container using: docker run -p 8088:9090 --add-host=devt.ala.org.au: 6228535a684f
- Setup your MERIT to use pdfgen.baseURL=http://localhost:8088/
- Ensure the security.apikey.check.serviceUrl= property is set or add the IP of the pdf-service container to the API key IP whitelist.