Giter VIP home page Giter VIP logo

Comments (4)

bacongobbler avatar bacongobbler commented on August 23, 2024

yes. use the multi-buildpack buildpack. See https://github.com/ddollar/heroku-buildpack-multi

from slugbuilder.

mboersma avatar mboersma commented on August 23, 2024

Slugbuilder specifically contains Heroku's multi-buildpack at https://github.com/heroku/heroku-buildpack-multi, a fork of ddollar's. I retested this recently with https://github.com/dzuelke/heroku-multipack-nodejs-php-example, so you could also check that repository for a working example.

from slugbuilder.

lazydino avatar lazydino commented on August 23, 2024

Hi,

I wasn't able to set BUILDPACK_URL with ddollar's fork, or any other build pack

root@UBC809:~/edgetest# deis config:set BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git
Creating config... Error:
404 Not Found
detail: Not found.

root@UBC809:~/edgetest# deis config:set BUILDPACK_URL=https://github.com/dpiddy/heroku-buildpack-ruby-minimal
Creating config... Error:
404 Not Found
detail: Not found.

What goes wrong? I am running deis against GKE..

Since deis does not support buidlpacks:set and buildpacks:add , would I be fine just create a .buildpacks at the root of my repos like

https://github.com/lastko/heroku-buildpack-edgejs.git
https://github.com/sibeliusseraphini/heroku-buildpack-nodejs-bower-grunt

as the heroku-buildpack-nodejs-bower-grunt as my 'primary buildpack'?

from slugbuilder.

bacongobbler avatar bacongobbler commented on August 23, 2024

@lazydino that 404 error means the application you are pointing to is incorrect. You're likely in the wrong directory. Try running the same command with -a to explicitly call out the application name you wish to set.

Since deis does not support buidlpacks:set and buildpacks:add

heroku buildpacks:set is the same as heroku config:set BUILDPACK_URL=.... It's just an alias, similar to how deis pull is an alias for deis builds:create. :)

would I be fine just create a .buildpacks at the root of my repos like

https://github.com/lastko/heroku-buildpack-edgejs.git
https://github.com/sibeliusseraphini/heroku-buildpack-nodejs-bower-grunt

as the heroku-buildpack-nodejs-bower-grunt as my 'primary buildpack'?

Since we already have heroku-buildpack-multi built into slugbuilder, yes it should be fine to create a .buildpacks file, commit it to the repository and push. You'll probably want heroku-buildpack-nodejs-bower-grunt as the first one on the list if it's your primary buildpack, though.

from slugbuilder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.