【问题标题】:Heroku Buildpack with Apache, PHP and GruntHeroku Buildpack 与 Apache、PHP 和 Grunt
【发布时间】:2014-05-22 14:04:11
【问题描述】:
【问题讨论】:
标签:
php
node.js
heroku
gruntjs
【解决方案2】:
我们使用两个构建包来使我们能够使用 Grunt 编译前端资产
$ heroku buildpacks:set heroku/nodejs
Buildpack set. Next release on your-application will use heroku/nodejs.
Run git push heroku master to create a new release using this buildpack.
$ heroku buildpacks:set heroku/php --index 2
Buildpack set. Next release on your-application will use:
1. heroku/nodejs
2. heroku/php
Run git push heroku master to create a new release using these buildpacks.