Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 05a0afd

Browse filesBrowse files
Updated Heroku instructions
With the newer versions of the Heroku toolbelt, multiple buildpacks is supported by default.
1 parent fdfc2cb commit 05a0afd
Copy full SHA for 05a0afd

File tree

Expand file treeCollapse file tree

1 file changed

+10
-10
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+10
-10
lines changed

‎cookbook/deployment/heroku.rst

Copy file name to clipboardExpand all lines: cookbook/deployment/heroku.rst
+10-10Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -305,20 +305,20 @@ This is also very useful to build assets on the production system, e.g. with Ass
305305
306306
With the next deploy, Heroku compiles your app using the Node.js buildpack and
307307
your npm packages become installed. On the other hand, your ``composer.json`` is
308-
now ignored. To compile your app with both buildpacks, Node.js *and* PHP, you can
309-
use a special `multiple buildpack`_. To override buildpack auto-detection, you
308+
now ignored. To compile your app with both buildpacks, Node.js *and* PHP, you need
309+
use both buildpacks. To override buildpack auto-detection, you
310310
need to explicitly set the buildpack URL:
311311

312312
.. code-block:: bash
313313
314-
$ heroku buildpacks:set https://github.com/ddollar/heroku-buildpack-multi.git
315-
316-
Next, add a ``.buildpacks`` file to your project, listing the buildpacks you need:
317-
318-
.. code-block:: text
319-
320-
https://github.com/heroku/heroku-buildpack-nodejs.git
321-
https://github.com/heroku/heroku-buildpack-php.git
314+
$ heroku buildpacks:set heroku/nodejs
315+
Buildpack set. Next release on your-application will use heroku/nodejs.
316+
Run git push heroku master to create a new release using this buildpack.
317+
$ heroku buildpacks:set heroku/php --index 2
318+
Buildpack set. Next release on your-application will use:
319+
1. heroku/nodejs
320+
2. heroku/php
321+
Run git push heroku master to create a new release using these buildpacks.
322322
323323
With the next deploy, you can benefit from both buildpacks. This setup also enables
324324
your Heroku environment to make use of node based automatic build tools like

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.