Question 1:
I cloned latest mean.js package from the official Github repository, and went through the official document step by step. Now I am able to run the mean.js with grunt command on my machine. However, the application is running in development model. Even I run it with this command:
NODE_ENV=production grunt
Still, the output of this command is below (same as grunt only):
Specification Management - Development Environment
Environment: development
Port: 3000
Database: mongodb://localhost/mean-dev
App version: 0.0.1
MEAN.JS version: 0.4.1
Does anybody know how to run it in production mode locally?
Question 2:
I deployed this application to heroku. I can tell from the log that the application runs in production mode. However, there is only a blank page, same as problem in this post: Blank page on Heroku - mean.js angular app. I followed the question by adding grunt build before run it, but it doesn't work.
Please help!