Thomas
Thomas

Reputation: 29736

Deploy NodeJs Express App on Windows and Linux Server

I am developing a small project which contains few applications:

I am also using a MongoDb.

In few weeks, I'll have to deploy this app in production and I have some requirements that the app should be installed on windows and Linux server (Don't really know if it really matters).

I had a look at some tooling :

But cannot really find out if these tools are up to date or if there are better alternative in 2016 ?

Upvotes: 2

Views: 5348

Answers (1)

JohnnyFun
JohnnyFun

Reputation: 4303

Here are what seem to be the recommended ways that I've found:

Windows: iis-node (and this vid is helpful to get that going). Also note you'll need IIS 8x to support websockets.

Linux: PM2 to manage the process, and nginx for proxy server. This article has helpful step-by-step for Ubuntu.

Upvotes: 5

Related Questions