Source for Mozilla VR site: https://vr.mozilla.org/
-
Clone the repo:
git clone git@github.com:MozVR/mozvr-site.git && cd mozvr-site
-
Install the Node dependencies:
npm install
Serve the site from the simple server:
npm run dev
Then launch the site from your favorite browser:
If you'd like, you can serve the site from a different port:
PORT=8000 npm run dev
To push your changes to the repo:
git pull --rebase
git push
To deploy the site to GitHub Pages:
npm run deploy
To deploy the site to your GitHub Pages (e.g., https://your_username.github.io/mozvr-site/):
npm run deploy your_username