Generator-meanstack
The MEAN stack generator for Yeoman.
Getting started
- Make sure you have yo installed on the latest version.
npm install -g yo
- Install the generator:
npm install -g generator-meanstack
- Run:
yo meanstack
This generator is based on the generator-angular. This means that you can use all commands available on the generator-angular to create your application.
Deploying to Heroku
During the scaffold you are able to create Procfile and .env files on your target project. After that follow the steps below.
- Use the command
grunt
to generate the optimized files for your application. - Set the environment variable
NODE_ENV
toproduction
before pushing your modifications to Heroku.