Networked Aframe Demo
- Node
- NPM
- Run:
npm install- Create an SSL certificate and put the key.pem and cert.pem files in the project folder. You can do this by running the folllowing command in the terminal while inside the project folder (add a passphrase when prompted if not sure what this is just type PASSPHRASE):
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365- Create a new file called simply .env with this content (substitue what's after the equals symbol for the passphrase you typed in the previous step):
PASSPHRASE=PASSPHRASE- Run:
npm start- Navigate to:
https://localhost:8080