Report this

What is the reason for this report?

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

Posted on January 25, 2022

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



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!

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.