Question

Get started with the MEAN stack droplet

Posted July 23, 2014 10.1k views

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.

3 comments

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.

×
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 dploy.io 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 ?

Submit an Answer