From f029b68ad4b1536236291948ca85150247949239 Mon Sep 17 00:00:00 2001 From: Shreeya <82967080+ttheshreeyasingh@users.noreply.github.com> Date: Wed, 30 Mar 2022 18:22:15 +0530 Subject: [PATCH] Updated 'Setting up a dev environment' in README.md (#21597) --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ec8a9f5a806..75049acdaec 100644 --- a/README.md +++ b/README.md @@ -305,11 +305,19 @@ yarn install popd ``` -Finally, build and start Element itself: +Clone the repo and switch to the `element-web` directory: ```bash git clone https://github.com/vector-im/element-web.git cd element-web +``` + +Configure the app by copying `config.sample.json` to `config.json` and +modifying it. See the [configuration docs](docs/config.md) for details. + +Finally, build and start Element itself: + +```bash yarn link matrix-js-sdk yarn link matrix-react-sdk yarn install @@ -330,9 +338,6 @@ Wait a few seconds for the initial build to finish; you should see something lik and rebuilds source files when they change. This development server also disables caching, so do NOT use it in production. -Configure the app by copying `config.sample.json` to `config.json` and -modifying it. See the [configuration docs](docs/config.md) for details. - Open in your browser to see your newly built Element. **Note**: The build script uses inotify by default on Linux to monitor directories