4 ms·
how would one go about deploying (say on Heroku) an iojs app?
by scope 12y ago
how would one go about deploying (say on Heroku) an iojs app?
- silverwind 12y agoHeroku has pretty good node support, but I'd doubt they support replacing the binary yet, so you'd have to wait for Heroku to support that. For manual deployment, the single iojs binary and your project folder should suffice, along with a way to start/restart your app automatically.
- tlrobinson 12y agoHeroku supports arbitrary "buildpacks", it should be easy to create one for iojs.
- btown 12y agoHeroku's way ahead of you... https://github.com/heroku/heroku-buildpack-nodejs/blob/a77cd257d1052d7bcffd5b5b261ee9794703daac/bin/compile#L36 https://github.com/heroku/heroku-buildpack-nodejs/blob/a77cd... EDIT: To clarify, though I haven't tried it myself, it looks like you can just specify `"engine.iojs": "1.0.0"` in your package.json, and Heroku will install the entire io.js system for you.
- j_0 12y agoCame across this just before opening this thread, you are correct https://twitter.com/hunterloftis/status/555234067520565249 https://twitter.com/hunterloftis/status/555234067520565249
- deleted 12y ago[deleted]
- hunterloftis 12y agoHeroku node maintainer here. No official docs yet (it's like an hour old already! :) but it works about the way you might guess: use engines.iojs instead of engines.node in your package.json. (screencast: https://twitter.com/HunterLoftis/status/555234067520565249 https://twitter.com/HunterLoftis/status/555234067520565249) We're also excited to see node hit a 1.0 and merge in new V8, ES6 features, etc. I'm especially excited about Cluster's round-robin load balancing which has been a compelling reason to use 'unstable 0.11' for a while.