- Fork this repository!
- Install dependencies:
npm install - The
postinstallscript will automatically clone mozilla/hubs and apply patches to make customizations easier.
This template is designed to make it easier to create and maintain a customized Hubs client.
- Register components/systems in
hub.inject.js - Start a local development server:
npm run start
To build and deploy for GitHub Pages (in a gh-pages branch):
npm run build-ghnpm run deploy-gh
Make sure GitHub Pages is configured appropriately in your fork
For more complex changes, you can patch Hubs directly without needing to fork it!
- Make changes to Hubs source in the
hubsdirectory (created during installation) - Execute
npm run makepatchto create a new patch file - Rename the patch file saved in
patches/RENAME_ME.patch