From e580cb809d580f2d4d20c6beb6e8a5d322890a15 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sun, 25 Oct 2015 12:33:13 +0000 Subject: [PATCH] spell out how to set up the deps when developing --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 75fba1467a..a15917a475 100644 --- a/README.md +++ b/README.md @@ -32,10 +32,14 @@ too, which isn't expressed in Vector's `package.json`. To do this, check out the `develop` branches of these libraries and then use `npm link` to tell Vector about them: -1. Link the react sdk package into the example: +1. `git clone git@github.com:matrix-org/matrix-react-sdk.git` +2. `cd matrix-react-sdk` +3. `git checkout develop` +4. `npm install` +5. `npm start` (to start the dev rebuilder) +6. `cd ../vector-web` +7. Link the react sdk package into the example: `npm link path/to/your/react/sdk` -2. Start the development rebuilder in your react SDK directory: - `npm start` Similarly, you may need to `npm link path/to/your/js/sdk` in your `matrix-react-sdk` directory.