1. Firebase in Action!
Deploy static website using Firebase Hosting
Source: https://firebase.google.com/docs
2. Deploy static website
1. Buat project
Ke firebase.google.com
Login dengan account google
Go to console
Add project 🡪 enter project name
Add app
Untuk yang belum buat websitenya sendiri bisa download/fork + clone template dari github
https://github.com/alvinwilta/firebasemeetup
3. Deploy static website
2. Install Firebase CLI
Standalone: bit.ly/FirebaseStandalone (ga disaranin)
Using npm:
Requirement: node.js 10.13.0 atau download di https://nodejs.org/en/
Kalau udah ada:
Buka cmd ke direktori file kalian, ketik:
npm install –g firebase-tools
firebase init
firebase login
firebase serve
firebase deploy