K
K
Kostya Bodnya2014-07-02 10:53:13
Software Deployment
Kostya Bodnya, 2014-07-02 10:53:13

What is the best way to deploy a node js application?

Googling the question produces a bunch of results, each solution praises itself. But I can’t choose the right one based on this data, since I have very little experience with Node.js.
In terms of means (in the sense of technical, not financial) is not limited. The server can be configured as you like. OS is good old Debian.
I would like to hear the objective opinion of people who have faced this task with a small number of arguments.
Thank you very much!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Gusev, 2014-07-02
@illi

You can do it in different ways, the simplest:
- disable everything on the port that the application should listen to (if the web, if on port 80, then Apache can be there, you can disable it if it is not needed, or pick nginx)
- create a screen ( screen -S screen_name )
- run the application in it
- exit the screen ( ctrl+a+d )

D
Dmitry Snegirev, 2014-07-02
@Rikkit

Using Node.js in Production
flippinawesome.org/2014/06/23/using-node-js-in-pro...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question