ParetoLabs/Dealem.ma — pull request #6 by Superjisan (2014-06-09 18:09:06+00:00)
Title: Fixed Heroku Deployment Issues

These are the changes that I made:
1. Added morgan to the package.json file to replace express.logger().
2. Made the following changes to web.js :+1:
- Added 'var logger = require('morgan')'
- Changed ' app.use(express.logger())' to 'app.use(logger('dev'));'
- Added '/dist' to gzippo command "app.use(gzippo.staticGzip('' + __dirname + "/dist"));"
3. Streamlined the process of heroku build by generating a grunt task. Now you can just type 'grunt heroku' and it will automatically commit your changes and push to heroku (although all commits will be called 'build' when using this command line feature. Please see changes to Gruntfile.js for the changes.