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

Show comments

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.

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