From a86ec2778dcb93d0bbeba70f888487c636444ba1 Mon Sep 17 00:00:00 2001 From: Mars Hall Date: Sat, 17 Mar 2018 17:53:46 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20Update=20"Switching=20from=20cre?= =?UTF-8?q?ate-react-app-buildpack"=20directions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index babf82b..59b4f59 100755 --- a/README.md +++ b/README.md @@ -62,10 +62,15 @@ If an app was previously deployed with [create-react-app-buildpack](https://gith ```bash mkdir react-ui - git mv [!react-ui]* react-ui/ - # You'll see "fatal: Not a git repository"; let's fix that error + git mv -k [!react-ui]* react-ui/ + mv node_modules react-ui/ + + # If you see "fatal: Not a git repository", then fix that error mv react-ui/.git ./ ``` + +    ⚠️ *Some folks have reported problems with these commands. Sorry if they do not work for you, know that the point is to move **everything** in the repo into the `react-ui/` subdirectory. Except for `.git/` which should remain at the root level.* +     1. Create a root [`package.json`](package.json), [`server/`](server/), & [`.gitignore`](.gitignore) modeled after the code in this repo 1. Commit and deploy ♻️