From 6cc3e71427ae24227a2d85b6da96fce709267797 Mon Sep 17 00:00:00 2001 From: Jean Weatherwax Date: Thu, 11 Jun 2020 13:04:12 -0700 Subject: [PATCH] Add instructions for setting buildpack on an existing heroku app --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 2628c1e9..6d0c5064 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,14 @@ Use [create-react-app's built-in Jest testing](https://github.com/facebookincuba [Heroku CI](https://devcenter.heroku.com/articles/heroku-ci) is supported with minimal configuration. The CI integration is compatible with npm & yarn (see [`bin/test`](bin/test)). +#### Add to existing Heroku app + +If you have your react app deployed to heroku already and wish to use this buildpack, you can do so by running: + +``` +heroku buildpacks:set mars/create-react-app +``` + #### Minimal `app.json` Heroku CI uses [`app.json`](https://devcenter.heroku.com/articles/app-json-schema) to provision test apps. To support Heroku CI, commit this minimal example `app.json`: