Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup prerequisite #62

Open
arthabus opened this issue Mar 9, 2020 · 5 comments
Open

Setup prerequisite #62

arthabus opened this issue Mar 9, 2020 · 5 comments

Comments

@arthabus
Copy link

arthabus commented Mar 9, 2020

I'm dumb - I'm using firebase nodejs and I can't understand how to install graphicsmagick and ghostscript there. Any help please?

I'd expect those modules to be available as npm packages but that doesn't seem to be the case. What is the expected way to set it up?

@jamiegalbreath
Copy link

I AM IN THE SAME BOAT. SEND HELP :D

@arthabus
Copy link
Author

arthabus commented Apr 9, 2020

@jamiegalbreath I ended up using ghostscript directly - it still requires extra steps and the below guide explains those:

https://tech.residebrokerage.com/using-firebase-cloud-functions-with-ghostscript-for-pdf-to-image-conversion-f81b248d3b22

I guess similar steps should be taken to install the corresponding dependencies for this library to work (though the steps would vary depending on your node environment)

@aravindsnkr2
Copy link

I think you need to follow the official installation directions for graphicsmagick and ghostscript for the OS you intent to run the app on. It should be installed on the system you are planning to deploy the app on.

@Harsh-Sharma25
Copy link

What about if your app is in next-js. I haven't been able to run this locally cause I don't know how to setup these prerequisites on windows & then how would I set this up when I deploy my app on vercel.

@dev3py
Copy link

dev3py commented Aug 14, 2024

i have taken the build. The dist folder is now available but what do i do now how can i convert my PDFs to images. how do i run this project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants