Get started with the MEAN stack droplet

July 23, 2014 6k views


I've installed the the MEAN-stack droplet. And connected via ssh root@
I've searched the web how to get started once the MEAN-stack is installed but i don't seem to find anything useful.

Currently I've a MEAN-stack running locally on my computer and I want to push everything to the "web-page".

I'm trying to figure out where to put the javascript files (both for front and back-end)?
And how can I see if it works or not?

It's hard to ask precise questions because I really don't understand. But I really hope you can point me in the right direction.

  • I've also tested to put the ip adress in the web browsers url. But nothing happens.

  • I'm having issues with viewing an index page I created with the MEAN stack. On my root I created an index page and configured my hostname with the, "How To Set Up a Host Name with DigitalOcean" tutorial it seemed pretty straightforward but I can not view Can someone help me out with this. Thanks...

  • Same Problem, where do I put my files? I tried the opt directory.

3 Answers

Once you log in to your droplet, you should see the MOTD message with some details on how your droplet is set up.

MEAN is installed in /opt/mean, you can use FileZilla or any other SFTP client to transfer your application to your droplet.

The default application is configured to start a webserver when running grunt (cd /opt/mean and grunt).

by Pablo Carranza
This article will teach you how to use Filezilla to transfer and manage files securely on your VPS.

Or better yet, use something like and configure it up to a git repo. Commit & push, wait a bit, refresh. Changes now live. Wee.

I have an app running on a port other than :80 but i can't seem to access it.
do i need to change some firewall settings or other rules with this droplet?

FWIW I know the app is running.

or do i need to bind to a specific host/port on startup other than just PORT=3000 node app.js ?

Have another answer? Share your knowledge.