@@ -10,6 +10,9 @@ Getting started
10101 . Clone the repo: ` git clone https://github.com/vector-im/vector-web.git `
11111 . Switch to the vector directory: ` cd vector-web `
12121 . Install the prerequisites: ` npm install `
13+ 1 . If you are using the ` develop ` branch of vector, you will probably need to
14+ rebuild one of the dependencies, due to https://github.com/npm/npm/issues/3055 :
15+ ` (cd node_modules/matrix-react-sdk && npm install) `
13161 . Start the development builder and a testing server: ` npm start `
14171 . Wait a few seconds for the initial build to finish (the command won't
1518 terminate: it's running a web server for you).
@@ -48,14 +51,13 @@ webserver to actually serve up the app, which is entirely static content.
4851Development
4952===========
5053
51- For simple tweaks, you can work on any of the source files within Vector with the
52- setup above, and your changes will cause an instant rebuild.
54+ For simple tweaks, you can work on any of the source files within Vector with
55+ the setup above, and your changes will cause an instant rebuild.
5356
54- However, all serious development on Vector happens on the ` develop ` branch. This typically
55- depends on the ` develop ` snapshot versions of ` matrix-react-sdk ` and ` matrix-js-sdk `
56- too, which can't be installed automatically due to https://github.com/npm/npm/issues/3055 .
57- To get the right dependencies, check out the ` develop ` branches of these libraries and
58- then use ` ln -s ` to tell Vector about them:
57+ However, much of the functionality in Vector is actually in the
58+ ` matrix-react-sdk ` and ` matrix-js-sdk ` modules. It is possible to set these up
59+ in a way that makes it easy to track the ` develop ` branches in git and to make
60+ local changes without having to manually rebuild each time.
5961
6062[ Be aware that there may be problems with this process under npm version 3.]
6163
0 commit comments