Report this

What is the reason for this report?

Github question

Posted on November 11, 2022

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



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 @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

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

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.