diff --git a/README.md b/README.md index b667b303..353fff89 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ wolox-react-bootstrap 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/development/run.sh) folderName +1- bash <(curl -s https://raw.githubusercontent.com/Wolox/react-bootstrap/development/run.sh) githubRepo 2- Track and add or delete comment lines: with: // TODO Add this if you need it with: // TODO import your {..} diff --git a/run.sh b/run.sh index 249ba3be..ff1ea83d 100755 --- a/run.sh +++ b/run.sh @@ -45,6 +45,10 @@ package-json-merge package.json packageB.json > packageA.json mv packageA.json package.json rm packageB.json git init + +if ! [[-z "$1" ]]; then +git remote add origin $1 +fi yarn && yarn start wait $!