Set up Node.js and Firbase CLI
- install Node.js 8.0
- install Firebase CLI
- Login to get access from Firebase
firebase login
- Get firebase dependencies
firebase init
, select cloud function, firestore and hosting - Follow the steps to setup environment, don't overwrite the files
- Add
"cleanUrls": true,
to firebase.json under"hosting"
- Before deploy, remember to change the const in room.js and welcome.js to your own web url. Also, you need to add the url to index.js for CORS.