dwyl / bestevidence

:briefcase: City, University of London BestEvidence app
http://bestevidence.info/
11 stars 0 forks source link

Save BEAR to PDF #403

Open iteles opened 6 years ago

iteles commented 6 years ago

THIS IS NOT IN SCOPE FOR SPRINT 9

As per https://github.com/dwyl/bestevidence/issues/266, this is not part of the originally estimated scope for sprint 9. Unfortunately it seems we will almost certainly not have any time left over in this sprint to fit it in.

As a user I would like to be able to save my BEAR to PDF so that I can share it with other people.

screen shot 2018-08-09 at 21 47 34

Acceptance Criteria

On this page:

RobStallion commented 6 years ago

After looking into how this issue may be solved I came across this, wkhtmltopdf.

It is an open source command line tool to render html to pdf. There is an elixir wrapper for this called elixir-pdf-generator. The readme for it comes with instructions for how it can be used with heroku which would be helpful for us.

I will do some simple spikes using these tools to see how well they can be implemented into the project and update this issue with results.

RobStallion commented 6 years ago

This project also needed to create PDFs and have used the dependency I found in the comment above. See here for an example of how they implemented it.

RobStallion commented 6 years ago

@ajburls has shared a mock up of what she would like the PDF to look like. It is in the google drive