最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

javascript - Node.js on Heroku? - Stack Overflow

matteradmin7PV0评论

I wonder if all Heroku addons - that are currently working for Rails - will work for Node.js once the support is there?

And what is the ETA for the launch of Node.js support?

I wonder if all Heroku addons - that are currently working for Rails - will work for Node.js once the support is there?

And what is the ETA for the launch of Node.js support?

Share Improve this question edited Mar 18, 2011 at 16:23 700 Software 88k88 gold badges242 silver badges347 bronze badges asked Oct 7, 2010 at 8:08 never_had_a_namenever_had_a_name 93.4k106 gold badges277 silver badges392 bronze badges 0
Add a ment  | 

4 Answers 4

Reset to default 6

Node.js is now officially supported on Heroku.

Several addons currently require specific ruby gems to be installed so I think Node.js will have its own separate set of addons.

As for launch, to my knowledge there is no ETA yet.

Whether or not an addon will work with node is going to specific to the addon itself, probably whether the addon requires a Ruby lib to work.

I'm currently using Loggly, RedisToGo, Mongolab, and RabbitMQ via Addons all with node.

It is supported by CEDAR stack on heroku

All you have to do is put into .gitignore node_modules directory and create Procfile eg.

web: node web.js

This is just a mand to startup your application.

Important thing is that you should layout your app as node_module i wrote a blog post about it http://no-fucking-idea./blog/2012/04/23/building-node-dot-js-module-using-npm/ So you can look it up.

url explaining how to deploy is here: https://devcenter.heroku./articles/nodejs

Have fun!

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far