How to migrate node express website to ubuntu droplet and deploy with git.

I can’t seem to find the resources on how to migrate an express website that is currently working on my localhost to a digitalocean droplet. I don’t have a firm grasp on what extra is needed on the remote server or how to get the webserver running. I’ve searched through many tutorials but somehow they don’t seem to have the answer to something that seems basic but I’m guessing is fairly complicated.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Not necessarily complicated. The MEAN one-click may save you some time: (MEAN = MongoDB, Express, Angular, Node.js) DigitalOcean provides the MEAN stack pre-configured on an Ubuntu server.

Take a read through this tutorial:

Especially relevant to your needs is the deploying your own section.

If you would prefer to start from scratch, there’s also the How to install Mean on Ubuntu 14.04 tutorial.

Does that help?