From e8e4f790fc539004b0b3f00e0d2a9203bc6d2cd7 Mon Sep 17 00:00:00 2001 From: NaomiFPassarelli Date: Wed, 4 Oct 2017 11:18:10 -0300 Subject: [PATCH 1/2] change master to dev - change name of pro --- README.md | 4 ++-- run.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2c151384..5ca60f91 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -react-bootstrap +wolox-react-bootstrap ================== ## Prerequisites @@ -11,6 +11,6 @@ yarn: https://yarnpkg.com/lang/en/docs/install/#alternatives-tab You don't need to clone this repository. Just run the following in your terminal: -1- bash <(curl -s https://raw.githubusercontent.com/Wolox/react-bootstrap/master/run.sh) folderName +1- bash <(curl -s https://raw.githubusercontent.com/Wolox/react-bootstrap/development/run.sh) folderName 2- Track and add or delete comment lines: with: // TODO Add this if you need it with: // TODO import your {..} 3- Add .env with your API_BASE_URL diff --git a/run.sh b/run.sh index 315e3a73..bed591a5 100644 --- a/run.sh +++ b/run.sh @@ -26,10 +26,10 @@ fi yarn global add create-react-app --prefix /usr/local create-react-app $1 -#! create-react-app $2 --scripts-version mycompany-react-scripts +#! create-react-app $1 --scripts-version mycompany-react-scripts cd $1/ -yarn global add yo generator-react-bootstrap > /dev/null 2>&1 -yo react-bootstrap +yarn global add yo generator-wolox-react-bootstrap > /dev/null 2>&1 +yo wolox-react-bootstrap yarn start wait $! From c8bae4005c3d81051891e9021f9e91efff6782ed Mon Sep 17 00:00:00 2001 From: NaomiFPassarelli Date: Wed, 4 Oct 2017 11:29:07 -0300 Subject: [PATCH 2/2] change name pck.json --- package.json | 2 +- run.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 5b75c09d..3cc6b1cf 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "wolox-react-bootstrap", + "name": "generator-react-bootstrap", "version": "0.1.0", "description": "wolox-react-bootstrap", "files": ["index.js", "generators"], diff --git a/run.sh b/run.sh index bed591a5..315e3a73 100644 --- a/run.sh +++ b/run.sh @@ -26,10 +26,10 @@ fi yarn global add create-react-app --prefix /usr/local create-react-app $1 -#! create-react-app $1 --scripts-version mycompany-react-scripts +#! create-react-app $2 --scripts-version mycompany-react-scripts cd $1/ -yarn global add yo generator-wolox-react-bootstrap > /dev/null 2>&1 -yo wolox-react-bootstrap +yarn global add yo generator-react-bootstrap > /dev/null 2>&1 +yo react-bootstrap yarn start wait $!