The MEAN stack generator for Yeoman.
- Make sure you have yo installed on the latest version.
npm install -g yo
- Install the generator:
npm install -g generator-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
gruntto generate the optimized files for your application.
- Set the environment variable
productionbefore pushing your modifications to Heroku.