Upload a nodjs and mongodb project into a VPS

Asked

Viewed 80 times

1

I developed my project with Nodejs and Mongodb on Windows, now I intend to upload it in an Ubuntu VPS with these already installed software, I already have Putty installed on my machine and I got access to the server, only I do not know how to send the files.

1 answer

0


One way to do this (I think it’s the best one) would be to use git, such as github:

  • create a project on github
  • configure your project locally on github
  • send the project to github.
  • clone the project into your VPS

How to use git?

  • In fact this is a good option. I have a website that I made using Nodejs and I do just that to update the site.

  • Thank you very much, I’ll try to post the result later...

  • I did, I already had a private repository in Bitbucket, so I cloned it and it worked fine. Now my doubt consists on how to leave the server on permanently without I have to open all the time Putty and run "Node app.js"?

  • @Flowckii asks another question here in the OS, telling which linux distribution you are using and the staff will answer

Browser other questions tagged

You are not signed in. Login or sign up in order to post.