Set up MEAN application with of my own directory structure

Hello Team,

While setting up droplet I selected mongodb one click install droplet and then installed nodejs, domain and ssl certificate manually which works great and also able to access the url that setup.

Now I have application without grunt or gulp which build on MEAN stack. Can some one guide me as to how I can set up this application. Below link helps little bit but not completely since this link uses MEAN one click image to setup droplet.

What should I do be able to install the app as MEAN with existing droplet where I have nodejs and mongdb setup perfectly. Look forward to hear from you.

Kind Regards !


Submit an 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.


You can install your project as you normally would. Clone the repo or upload the project files in some way, run npm install, and then npm start. You can use PM2 to manage the app’s node process(es) and start it automatically on startup:

Since you already have Node.js installed, you can skip right to the Install PM2 section of the tutorial. Keep in mind that depending on how you installed Node.js, you might or might not need to use sudo with npm.

Let me know how it goes!