tanzquotient / website

Website of Tanzquotient
https://tanzquotient.org
GNU General Public License v2.0
5 stars 5 forks source link

Voucher Download Joint PDF #70

Closed renatobellotti closed 4 years ago

renatobellotti commented 7 years ago

Doesn't work (error message).

gitsimon commented 7 years ago

Yes I broke this with knowing it. The chain of problems was:

  1. alpine Linux versions as basis for docker docker containers was required to make image size smaller on server since space kind of limited

  2. the django plugin (cairo) that we used to generate and join PDFs required some stuff to be installed on machine, which failed on Alpine Linux (see commit)

  3. Therefore, at the moment only SVG generation works, this has to be converted/joined on some other machine.

martinzellner commented 7 years ago

I think it should be generally possible to run cairo on alpine linux but it might require some troubleshooting.

renatobellotti commented 6 years ago

Another possibility is to use a python only solution: https://docs.djangoproject.com/en/2.0/howto/outputting-pdf/