Update README.md

This commit is contained in:
Daniel García Aubert 2017-03-17 17:41:20 +01:00
parent 4bfaeeb44b
commit 7b3a4aa2a8

View File

@ -32,7 +32,7 @@ Upgrading
Checkout your commit/branch. If you need to reinstall dependencies (you can check [NEWS](NEWS.md)) do the following: Checkout your commit/branch. If you need to reinstall dependencies (you can check [NEWS](NEWS.md)) do the following:
``` ```
rm -rf node_modules; npm install rm -rf node_modules; yarn
``` ```
Run Run
@ -71,12 +71,12 @@ See [CONTRIBUTING.md](CONTRIBUTING.md).
### Developing with a custom windshaft version ### Developing with a custom windshaft version
If you plan or want to use a custom / not released yet version of windshaft (or any other dependency) the best option is If you plan or want to use a custom / not released yet version of windshaft (or any other dependency) the best option is
to use `npm link`. You can read more about it at [npm-link: Symlink a package folder](https://docs.npmjs.com/cli/link). to use `yarn link`. You can read more about it at [yarn-link: Symlink a package folder](https://yarnpkg.com/en/docs/cli/link).
**Quick start**: **Quick start**:
```shell ```shell
~/windshaft-directory $ npm install ~/windshaft-directory $ yarn
~/windshaft-directory $ npm link ~/windshaft-directory $ yarn link
~/windshaft-cartodb-directory $ npm link windshaft ~/windshaft-cartodb-directory $ yarn link windshaft
``` ```