Question

Github question

So I am wondering how you host a repo on here if anyone has any answers to this that would be awesome. It is in NodeJS


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.

Hello there,

A similar question was asked before in our community, which I’ll link bellow:

https://www.digitalocean.com/community/questions/how-do-i-deploy-github-repository-and-run-it-on-digital-ocean-vps

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:

Regards

Hi @bryced2014

You don’t actually host a repository here, you have you repository on Github and deploy it on App Platform or on your Droplet.

If you are using a Droplet, you’ll need to just do a

  1. git clone

If you are using App Platform, check the following Docs for more info:

https://docs.digitalocean.com/products/app-platform/quickstart/

Additionally, give the following repo a look as well it can be really helpful:

https://github.com/digitalocean/app_action