This is a buildpack combining the PHP and NodeJS buildpacks, which allows for an on-deploy Grunt build.
Refer to this repo for a working template that utilizes this project.
Use the following command (more info here) to initialize heroku with the buildpack:
$ heroku create --buildpack https://github.com/gcpantazis/heroku-buildpack-php-gruntjs.git
The buildpack expects that you set a package.json file at your project's root for node/npm configuration, and keep a separate package.json alongside your gruntfile in /build
.
On deploy to heroku, this configuration installs grunt globally, and will run npm install
at the root and /build
level.
Copyright (c) 2012 George Pantazis Licensed under the MIT license.