Question

How do i deploy github repository and run it on digital ocean vps?

I just made a vps server on digital ocean and i have no idea what do next. What i’m trying to do is fork this github repo and run it 24/7.

Sorry if the question is silly, i’m a complete newbie

Subscribe
Share

If you want to download any github project then login into droplet by terminal type git clone github_project_url It will download the projects files. Note: you have to install dependency required for that github project. Like apache2 if php scripts


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.

Hi there,

Indeed as @jotjpn mentioned, you could use the git clone command to clone your project from GitHub to your server.

Then you could follow the steps here on how to setup pm2 to run your Node.js app 24/7 on the server:

Let me know how it goes. Best, Bobby