-
Notifications
You must be signed in to change notification settings - Fork 142
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
Tips on installing gifski on a heroku nodejs server #145
Comments
Can you describe the problem you have? |
So I think my main issue is just installing gifski on heroku : Since there is no buildpack for heroku I've been trying to use the .deb file to upload it to heroku. Would be nice in the future to have a buildpack but hopefully I can figure this out without it. |
I can't help you with Heroku-specific problems. You need to ask them how they want executables to be uploaded/installed. |
For anybody else wondering how to install gifski on Heroku:
heroku buildpacks:add https://github.com/vinceliu/heroku-buildpack-rust
[package]
name = "my-app"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
gifski = "1.7.0" |
Note that adding via |
Thanks, @kornelski! I (clearly) don't have any Rust experience. I ended up using
|
Hello, I am fairly new to gifski and I'm trying to get it setup on my heroku node js server. I am trying to start it with a child_process command.
const util = require('util'); const exec = util.promisify(require('child_process').exec);
then trying to start it:
const { stdout, stderr } = await exec(gifski);
I'm having issues getting it working. Is this how someone would go about doing this? Any tips would be much appreciated!
The text was updated successfully, but these errors were encountered: