× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

Correctly setting a Heroku buildpack for Meteor deployment

Cory Flanigan
Apr 30, 2015
<p>Today I worked through an issue with a client who encountered problems during the build step of a <a href="https://www.meteor.com/">Meteor</a> application deployment to <a href="https://heroku.com">Heroku</a>.</p> <p>The client had tried to set the Heroku buildpack to use by setting an environment variable:</p> <pre><code>heroku config:add BUILDPACK_URL=https://github.com/AdmitHub/meteor-buildpack-horse</code></pre> <p>However, this wasn't working, so we followed the instructions here:</p> <pre><code>heroku buildpack:set https://github.com/AdmitHub/meteor-buildpack-horse</code></pre> <p>After we made a commit, and performed a deploy, everything worked just great!</p> <p>So, if you're having trouble building after setting a BUILDPACK_URL config value, try the `buildpack:set` command instead!</p> <p>Feel free to reach out to me if you'd like help with this or anything related to Meteor deployment on Heroku. I'd love to solve it together!</p>
comments powered by Disqus