You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like this project as it's a really easy to use boilerplate for Rust projects. I use Heroku sometimes and also Dokku/Docker so it would be nice to easily use canduma with Heroku instead of building it myself.
Edit: So I was able to use the buildpack at https://github.com/emk/heroku-buildpack-rust to build canduma on Dokku on a DigitalOcean droplet. Since it uses Heroku buildpacks, this should be compatible with Heroku as well. Looks like there may be some bugs with the buildpack on Heroku's buildpack library, so use the full https://github.com/emk/heroku-buildpack-rust url instead when adding the buildpack.
If you don't set the buildpack as being Rust based, Heroku/Dokku assume it's a NodeJS app due to the package.json in the directory, and the build will fail. Actually, why is there a package.json in the project anyway? Looks like it's used for linting and testing, but I'm not sure what parts are JS based exactly.
The text was updated successfully, but these errors were encountered:
satvikpendem
changed the title
Consider adding canduma as a Heroku buildpack
Consider Heroku compatibility
Apr 20, 2020
I like this project as it's a really easy to use boilerplate for Rust projects. I use Heroku sometimes and also Dokku/Docker so it would be nice to easily use canduma with Heroku instead of building it myself.
Edit: So I was able to use the buildpack at https://github.com/emk/heroku-buildpack-rust to build canduma on Dokku on a DigitalOcean droplet. Since it uses Heroku buildpacks, this should be compatible with Heroku as well. Looks like there may be some bugs with the buildpack on Heroku's buildpack library, so use the full https://github.com/emk/heroku-buildpack-rust url instead when adding the buildpack.
Heroku:
heroku buildpacks:set https://github.com/emk/heroku-buildpack-rust.git
Dokku:
dokku buildpacks:add https://github.com/emk/heroku-buildpack-rust.git
If you don't set the buildpack as being Rust based, Heroku/Dokku assume it's a NodeJS app due to the
package.json
in the directory, and the build will fail. Actually, why is there apackage.json
in the project anyway? Looks like it's used for linting and testing, but I'm not sure what parts are JS based exactly.The text was updated successfully, but these errors were encountered: