hyperlink An image of Trui

@TruebizJournal, © 100% Approval

I love to teach you HTML, remember ../ is saying go up one folder or just / the root of the full web address

🟩 Project Setup & Auth

Log in to Firebasefirebase login
Log out of Firebasefirebase logout
Initialize a projectfirebase init
View your Firebase projectsfirebase projects:list
Add/select a project aliasfirebase use --add
Set active projectfirebase use <alias>

🟦 Hosting Commands

Your day-to-day hitters.

Serve hosting locallyfirebase serve --only hosting
New methodfirebase hosting:serve
Deploy hosting onlyfirebase deploy --only hosting
Deploy everythingfirebase deploy

🟨 Emulator Suite (Local Simulation)

Start all emulatorsfirebase emulators:start
Start specific emulatorsfirebase emulators:start --only firestore,functions,hosting
Run script then stopfirebase emulators:exec "<command>"
Emulator UIhttp://localhost:4000

Common Emulator Ports

🟥 Firestore

Deploy Firestore rulesfirebase deploy --only firestore:rules
Deploy Firestore indexesfirebase deploy --only firestore:indexes
Deploy all Firestorefirebase deploy --only firestore

🔶 Functions

Deploy functionsfirebase deploy --only functions
Deploy one functionfirebase deploy --only functions:<name>
View logsfirebase functions:log

🟧 Storage

Deploy Storage rulesfirebase deploy --only storage

🟪 Database (Realtime DB)

Deploy database rulesfirebase deploy --only database

🟫 Misc Utilities

View CLI versionfirebase --version
Update CLInpm install -g firebase-tools
Delete hosting channelfirebase hosting:channel:delete <channel>
Create preview channelfirebase hosting:channel:deploy preview

Html tags

html cheatsheet html cheatsheet html cheatsheet