76cc258dde | ||
---|---|---|
example | ||
skins/base | ||
src | ||
.gitignore | ||
LICENSE | ||
README.md | ||
package.json |
README.md
matrix-react-sdk
This is a react-based SDK for inserting a Matrix chat client into a web page
- Install or update
node.js so that your
npmis at least at version
2.3.0` - Clone the repo
git clone https://github.com/matrix-org/matrix-react-sdk.git
- Navigate to example folder and install dependencies
cd example; npm install
- Go back to root folder and build CSS
cd ..; npm install; npm run start:css
- Copy builds
cd example; cp../bundle.css ./; npm start
Serve the app from within the example
directory by running python -m SimpleHTTPServer 8000
and access it at http://0.0.0.0:8000