How deploy Node app to Ubuntu

  • Posted on August 10, 2013
  • abachukAsked by abachuk

I installed node, npm and mongodb on my dropplet and now wondering how to deploy my local node app to the server.

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@abachuk: You can set up a private git repo on your droplet and push to it: <br> <br> <br> <br>Also read my reply to Leo’s comment on that article.

I was able to set up git repo (/app/myappname.git) and push my code there, however after I pushed it, I don’t see it remotely. When I set up new local repo and clone remote (app/myappname.git) repo - all code gets copied, so it’s somewhere on the server, where is it and what URL it has in the browser (after I start node and do npm install) ? Thanks.

ok, great. I’ll wait for the article then. Thanks.