Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 1.04 KB

README.md

File metadata and controls

22 lines (13 loc) · 1.04 KB

Heroku: Apache + PHP + Grunt

This is a buildpack combining the PHP and NodeJS buildpacks, which allows for an on-deploy Grunt build.

Configuration

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.

License

Copyright (c) 2012 George Pantazis Licensed under the MIT license.