Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nicholinoah/webxr-https

WebXR project template for local HTTPS browsing
https://github.com/nicholinoah/webxr-https

https template webxr

Last synced: 19 days ago
JSON representation

WebXR project template for local HTTPS browsing

Awesome Lists containing this project

README

        

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.**