Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 16eccf5

Browse files
authored
📚 clarify architecture docs 🏙
1 parent 7af9344 commit 16eccf5

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -423,20 +423,24 @@ heroku buildpacks:set https://github.com/mars/create-react-app-buildpack.git#v1.
423423
Architecture 🏙
424424
------------
425425

426-
This buildpack composes several buildpacks (specified in [`.buildpacks`](.buildpacks)) to support **no-configuration deployment** on Heroku:
426+
This buildpack combines several buildpacks, specified in [`.buildpacks`](.buildpacks), to support **zero-configuration deployment** on Heroku:
427427

428428
1. [`heroku/nodejs` buildpack](https://github.com/heroku/heroku-buildpack-nodejs)
429-
* complete Node.js enviroment to support the webpack build
430-
* `node_modules` cached between deployments
429+
* installs complete `node`, puts it on the `$PATH`
430+
* version specified in [`package.json`, `engines.node`](https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version)
431+
* `node_modules/` cached between deployments
431432
2. [`mars/create-react-app-inner-buildpack`](https://github.com/mars/create-react-app-inner-buildpack)
432-
* enables [runtime environment variables](#user-content-runtime-configuration)
433+
* production build for create-react-app, `npm run build`
433434
* generates the [default `static.json`](#user-content-customization)
434-
* performs the production build for create-react-app, `npm run build`
435+
* enables [runtime environment variables](#user-content-runtime-configuration)
435436
3. [`heroku/static` buildpack](https://github.com/heroku/heroku-buildpack-static)
436437
* [Nginx](http://nginx.org/en/) web server
437-
* handy static website & SPA (single-page app) [customization options](https://github.com/heroku/heroku-buildpack-static#configuration)
438+
* launches via `bin/boot`
439+
* configure via `static.json`; see [options specific to this buildpack](#user-conter-web-server) and [all options](https://github.com/heroku/heroku-buildpack-static#configuration)
440+
441+
Runtime processes are launched based on the last buildpack's default processes, the static buildpack's Nginx web server. Processes may be customized with a [Procfile](#user-content-procfile).
442+
438443

439-
Runtime processes are launched based on the last buildpack's [Procfile](#user-content-procfile).
440444

441445
### General-purpose SPA deployment
442446

0 commit comments

Comments
 (0)