Skip to content

Commit

Permalink
Updated 'Setting up a dev environment' in README.md (#21597)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttheshreeyasingh authored Mar 30, 2022
1 parent a8e914a commit f029b68
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 <http://127.0.0.1:8080/> in your browser to see your newly built Element.

**Note**: The build script uses inotify by default on Linux to monitor directories
Expand Down

0 comments on commit f029b68

Please sign in to comment.