I want to use Node.js as a Share.js server and Ruby for the frontend. As far as I know, Heroku only allows one web-facing process called "web". Does anyone have some experience trying to do something like this?
Heroku officially supports a broad range of languages and frameworks: Ruby, Python, Node. js, PHP, Go, Java, Scala, and Clojure. We've created a set of curated, open source Heroku Buildpacks for each of these and integrated them into the platform.
Language Support We built Heroku, our fully managed container-based cloud platform, to make it easy for you to run apps written in a variety of programming languages, including our first-class languages Ruby, Java, PHP, Python, Node, Go, Scala and Clojure.
And, as you know, Heroku is a service that lets you get a back-end app up-and-running quickly.
To provide additional insights into memory health we offer optional language-specific runtime metrics. JVM, Go (public beta), Node. js (public beta), and Ruby (public beta) are currently supported.
No, Heroku detects the application type when you push your code to Heroku and it compiles the slug. You'd need to have them as seperate applications with a defined API between the two (not always a bad thing)
UPDATE: You can 'stack' buildpacks these days, eg Ruby + PHP so you could have both executed. See https://devcenter.heroku.com/articles/using-multiple-buildpacks-for-an-app for how to use multiple buildpacks in the same app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With