From 1594c49dbb05ab2c210cf51d501ce7f377b98978 Mon Sep 17 00:00:00 2001 From: Kureev Alexey Date: Thu, 11 Feb 2016 15:14:08 +0100 Subject: [PATCH] Add block about installation to the README --- README.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1f323fc..e2a48f8 100644 --- a/README.md +++ b/README.md @@ -12,20 +12,29 @@ ## Getting started -**Installation** +#### Installation ```bash $ npm install rnpm -g ``` -**Running** +#### Running -From your's project folder install some react-native modules that require additional installation and simply run: +**Installing dependency:** + +If you want to install a dependency and link it in one run: +```bash +$ rnpm install +``` + +**Linking dependency:** + +If you already have some installed (but not linked) modules, run: ```bash $ rnpm link ``` In the case you want to link only one depepndency, you can specify its name as an argument: ```bash -$ rnpm link react-native-blur +$ rnpm link ``` ## Rationale