spell out how to set up the deps when developing

pull/296/head
Matthew Hodgson 2015-10-25 12:33:13 +00:00
parent 1ecf0f0183
commit 47dca51c38
1 changed files with 7 additions and 3 deletions

View File

@ -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.