From 3eb163c4407fe369a0d48eb818b795582938fc5a Mon Sep 17 00:00:00 2001 From: June Domingo Date: Thu, 10 Nov 2016 18:45:15 +0800 Subject: [PATCH] Add yarn commands for installation process; update react-native-rename link --- README.md | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fc3c8b9..9a1cc90 100644 --- a/README.md +++ b/README.md @@ -9,26 +9,35 @@ #### Requirements -* [Node](https://nodejs.org/) >= 5.0.0 +- [Node](https://nodejs.org/) >= 5.0.0 +- [YARN](https://yarnpkg.com/) - Yarn is a package manager for your code. It allows you to use and share code with other developers from around the world. Yarn does this quickly, securely, and reliably so you don’t ever have to worry. + #### Installation +Install Yarn +```sh +$ npm install yarn -g +``` + +Clone this repo + ```sh $ git clone git@github.com:CynderTech/react-native-starter.git $ cd react-native-starter -$ npm install +$ yarn install $ react-native run-ios $ react-native run-android ``` #### Rename Project - +[react-native-rename](https://github.com/JuneDomingo/react-native-rename) - Rename react-native app with just one command ```sh -$ npm install react-native-rename -g +$ yarn global add react-native-rename ``` -ex +Usage ```sh $ react-native-rename "Awesome Project"