Skip to content

PHP+Apache Buildpack for Heroku, using NodeJS to run Grunt during slug compilation.

License

Notifications You must be signed in to change notification settings

gcpantazis/heroku-buildpack-php-gruntjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

PHP+Apache Buildpack for Heroku, using NodeJS to run Grunt during slug compilation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published