开发者

Juggernaut environment config

I'm trying to figure out how to run Juggernaut server in production – assuming that I would be able to configure different ports for the server in the development and production environment, because I can't control the port in my production environment. And also assuming that the server woul开发者_Go百科d be to start in "detached" mode?

Any advice much appreciated.


Just in case you are planning to continue using Juggernaut despite deprecation, getting it up and running is fairly straightforward - you can just use the instructions on the github page using npm and they work pretty well. The Juggernaut CLI script lets you configure a port, so no problem there either.


Checkout forever. It makes backgrounding javascript apps pretty simple... https://github.com/nodejitsu/forever

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜