There’s just one difference when preparing for hosting using Gatsby and Quartz
- No need to replace generated firebase.json
Below are the generals steps for firebase hosting
-
Install NPM tools - npm install -g firebase-tools
-
Firebase CLI Login - firebase login
- if already logged in, you can
firebase logout
and login for reauthentication
-
List the existing projects to verify name - firebase projects:list
- Initialize Firebase
firebase.json
is generated
-
Test the site locally by executing command firebase serve --only hosting
-
Deploy to firebase - firebase deploy -m "Quartz - Initial Site"
References