Make sure you have installed all the following prerequisites on your development machine:
- Node.js Download & Install Node.js and the npm package manager.
- MongoDB Download & Install MongoDB, and make sure it's running on the default port (27017).
To install Node.js dependencies you're going to use npm again. In the application folder run this in the command-line:
$ npm install
After the end of install process, you'll be able to run your application using Grunt, just run grunt default task:
$ npm start
Your application should run on port 3000 with the development environment configuration, so in your browser just go to http://localhost:3000
To run your application with production environment configuration, execute grunt as follows:
$ NODE_ENV=production npm start
- explore
config/env/production.js
for production environment configuration options
To have default account(s) seeded at runtime:
MONGO_SEED=true npm start
MIT