#Steps For Greatness
Set-up
- Ensure you have the correct .env values
- npm install
Test Locally npm start
Getting Ready to Deploy? Check here for Firebase Documentation: https://firebase.google.com/docs/hosting/test-preview-deploy And here: https://firebase.google.com/docs/hosting/manage-hosting-resources
-
Log into Firebase: firebase login (Download firebase cli tools)
-
Authenticate with appropriate google account
-
Delete build file if it exists
-
npm run-script build
-
Test using firebase: firebase emulators:start
-
Test using Firebase Preview Channel (deploy) firebase hosting:channel:deploy CHANNEL_ID --expires 1d (delete) firebase hosting:channel:delete CHANNEL_ID
-
After using the steps above: Deploy Live --> firebase deploy --only hosting