gutschilla / elixir-pdf-generator

Create PDFs with wkhtmltopdf or puppeteer/chromium from Elixir.
MIT License
330 stars 71 forks source link

Compile on Win10 #71

Open shotleybuilder opened 4 years ago

shotleybuilder commented 4 years ago

Hi, any tips for compiling on Win10?

I've changed to:

{:pdf_generator, "~> 0.6.2", compile: "mingw32-make chrome"}

But get *** No rule to make target.. when running mix deps.compile pdf_generator

Which I think means it cannot find a makefile (I could be wrong since I know nothing about such matters)

The pdf_generator directory in my project doesn't contain the makefile, not sure if I should expect it to!

Does this local compilation of headless chrome allow deploy to Heroku / Gigalixir? I'm struggling to find a package for pdf conversion that I can deploy (they all run locally of course, but that's of no practical use :) ). A recipe for this would be very helpful.