ahcis-rds / study_finder

StudyFinder is a flexible and configurable application to pull studies from clinicaltrials.gov and augment the data from alternate datasources such as a clinical trials management system.
MIT License
17 stars 4 forks source link

WickedPDF Deploy Fix #96

Closed johnsja closed 3 years ago

johnsja commented 3 years ago

Adding wickedpdf initializer. Specifying path to the wkhtmltopdf binary via an environment variable (set this in application.yml). Also setting "use_xvfb" to true so wkhtmltopdf commands are wrapped within an xvfb-run command (simulates an X server). Updating readme to include example environment variable.