Report this

What is the reason for this report?

Node droplet set up assistance

Posted on May 25, 2020

First time attempting to set up a node server.

Following this tut. https://medium.com/@mosheezderman/how-to-set-up-ci-cd-pipeline-for-a-node-js-app-with-jenkins-c51581cc783c

So far, I have logged into my app server as root user using ssh root@<nodeserverip>. I went through the prompts of entering my UNIX pw and changing it.

I am stuck at the next prompt which says root@nodejs-app:~# I am not sure what to enter.

Thanks for your time :)



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,

There are a few things that I could suggest here:

  • You can start by following this tutorial here on how to set up a Droplet with Node.js ready for production:

https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-20-04

  • Alternatively, you can also take a look at this quick video on how to do that as well:
  • An alternative option would be to use the App Platform rather than a Droplet so that you will not have to do the setup manually:

https://docs.digitalocean.com/products/app-platform/reference/buildpacks/nodejs/

Hope that this helps!

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.