From 84a0ef96951da1c3f4fc01c7357d7f8bf38dd215 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sat, 1 Apr 2017 13:25:16 +0100 Subject: [PATCH] spell out that if you're on develop you need to keep your deps up-to-date --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index f3a200a80c..bfd51a2070 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,17 @@ to build. (cd node_modules/matrix-js-sdk && npm install) (cd node_modules/matrix-react-sdk && npm install) ``` + Whenever you git pull on riot-web you will also probably need to force an update + to these dependencies - the easiest way is probably: + ``` + rm -rf node_modules/matrjx-{js,react}-sdk && npm i + (cd node_modules/matrix-js-sdk && npm install) + (cd node_modules/matrix-react-sdk && npm install) + ``` + However, we recommend setting up a proper development environment (see "Setting + up a development environment" below) if you want to run your own copy of the + `develop` branch, as it makes it much easier to keep these dependencies + up-to-date. 1. Configure the app by copying `config.sample.json` to `config.json` and modifying it (see below for details) 1. `npm run dist` to build a tarball to deploy. Untaring this file will give