Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 940 Bytes

File metadata and controls

40 lines (34 loc) · 940 Bytes

Cloned from Ayşegül Yönet's WebXRWorkshop https://github.com/mecawish/webXRWorkshop
Minimized and modified for simple mkcert ssl certificate and local https browsing
Requires pre-installed Node.js, Chocolatey, and mkcert

1 - Install Typescript & dependencies

$ npm install -g typescript
$ npm install
$ npm install mkcert

2 - For security purposes, temporarily change directory to outside your local repo.
SSL keys will be located in this newly designated directory. App is preset to C:/GitRepos

$ cd ..

3 - Install SSL certificates for https://localhost

$ mkcert -install
$ mkcert localhost

note: DO NOT share your key files with anyone.


4 - Change directory back to local repo

$ cd webxr-https

5 - Start the server

$ npm run dev

6 - Open https://localhost in WebXR enabled browser.