Question

How to setup AngularJS + NodeJs + Mysql App

I have to deploy (angularjs + NodeJs + Mysql) based web application. I have created a droplet with SSH and added a domain for the project.

I have a bitbucket repository, but using it is not available while creating an app from the digital ocean front end.

Do you have any documentation on How I can create the app, and add code from my repository using SSH access? Do you have any editor to view my files and edit them easily like Google Cloud?

I am new to the cloud so I am confused in some technical terms. For start, I want easy to setup documentation or tutorial.


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.

Hi there,

Once you’ve cloned your repository to the Droplet, you would need to start your Node app. To make sure that it keeps running even after you close the SSH session, you could use a package like PM2.

Here is a quick video that will show you how to deploy a Node app using PM2 and Nginx:

An alternative approach would be to use the DigitalOcean App platform. That way you will not have to configure and manage your own server but would be able to just push your code and have automated deployments:

https://docs.digitalocean.com/products/app-platform/how-to/deploy-from-monorepo/

Let me know if you have any questions.

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up