Skip to content

Commit 76cc258

Browse files
committed
added instructions to README
1 parent c54bed0 commit 76cc258

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,11 @@ matrix-react-sdk
22
================
33

44
This is a react-based SDK for inserting a Matrix chat client into a web page
5+
6+
1. Install or update `node.js so that your `npm` is at least at version `2.3.0`
7+
2. Clone the repo `git clone https://github.com/matrix-org/matrix-react-sdk.git`
8+
3. Navigate to example folder and install dependencies `cd example; npm install`
9+
4. Go back to root folder and build CSS `cd ..; npm install; npm run start:css`
10+
5. Copy builds `cd example; cp../bundle.css ./; npm start`
11+
12+
Serve the app from within the `example` directory by running `python -m SimpleHTTPServer 8000` and access it at [http://0.0.0.0:8000](http://0.0.0.0:8000/)

0 commit comments

Comments
 (0)