Skip to content
Snippets Groups Projects
README.md 826 B
Newer Older
Brian Peiris's avatar
Brian Peiris committed
# Mozilla Social Mixed Reality Client
Robert Long's avatar
Robert Long committed

A prototype client demonstrating a multi-user experience in WebVR. Built with
[A-Frame](https://github.com/aframevr/aframe/)
Brian Peiris's avatar
Brian Peiris committed
## Getting Started
To run the social client, run:
git clone https://github.com/mozilla/mr-social-client.git
yarn install
yarn start
```

## Building Static Files

To bundle javascript and generate the html templates, run:

```sh
yarn build
```

### Using CDN Assets

If you are hosting your static assets at separate path from the html documents,
the asset handlebars helper supports rewriting the base asset paths. To use it
run:

```sh
BASE_ASSETS_PATH="https://cdn.mysite.com/assets/" yarn build
```

Ex.

```hbs
<img src="{{asset "asseturl.png"}}"/>
```

Will become:

```html
Robert Long's avatar
Robert Long committed
<img src="https://cdn.mysite.com/assets/asseturl.png?crc=f37a775"/>