Is it possible to start my 14.04 MEAN app with npm start instead of Grunt?

August 30, 2017 223 views
MEAN Ubuntu

I'm deploying my own app to a MEAN droplet on 14.04, and don't really need the grunt config. Is it possible to start the app and have it be available at http://<my_droplet_IP>:3000 using something like:

NODE_ENV=production PORT=80 npm start

When I do this, the app does start ok but is not available in the browser

I'm new to node and ubuntu so I might need some very basic info. Thanks.

Be the first one to answer this question.