Report this

What is the reason for this report?

Get started with the MEAN stack droplet

Posted on July 23, 2014

Hi,

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.



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.

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 ?

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).

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

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.