Deployment on Digitalocen

30 views
Skip to first unread message

Fatih doğru

unread,
Oct 1, 2017, 5:50:45 PM10/1/17
to LoopbackJS
Hey Everybody!

What is the best solution for deploy a loopback app to DigitalOcean? Is there any tutorial for it ?

Francois Laforge

unread,
Oct 3, 2017, 9:33:02 AM10/3/17
to LoopbackJS
The easiest would be to install git on your Digital Ocean server and simply remotely login , do a pull of your master branch and "npm install", "npm start".

We use jenkins (https://jenkins.io/) to deploy our solution.  Whenever there is a commit to the Master branch, Jenkins runs our unit tests and code check, then deploys if there are no errors.

Fatih doğru

unread,
Oct 5, 2017, 4:14:18 PM10/5/17
to LoopbackJS

So it just will work on production mode and on 80 port?

Mark Johnson

unread,
Oct 6, 2017, 3:33:40 AM10/6/17
to LoopbackJS
Running your node app on port 80 is a security risk.  Perhaps put nginx in front of your node app as a proxy.
Reply all
Reply to author
Forward
0 new messages