Skip to content

hpreets/tambolaweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sikhi Tambola created on Firebase

Important commands

Hosting

  1. firebase serve - Run current code locally - Refer to https://firebase.google.com/docs/hosting/test-preview-deploy
  2. firebase hosting:channel:deploy release-02-210102 - Preview deploy - Refer to https://firebase.google.com/docs/hosting/test-preview-deploy
  3. firebase hosting:channel:delete CHANNEL_ID - Command for preview channels - https://firebase.google.com/docs/hosting/manage-hosting-resources?authuser=0#cli-commands-preview-channels
  4. firebase deploy --only hosting - Command to deploy live. More options check here - https://firebase.google.com/docs/hosting/test-preview-deploy

Functions

  1. firebase deploy --only functions:registerPrize - To deploy a function named registerPrize - Refer to https://firebase.google.com/docs/functions/manage-functions

Emulator

  1. firebase init emulators - To initiate emulator in your dev env - Refer to https://firebase.google.com/docs/emulator-suite/install_and_configure
  2. firebase setup:emulators - To setup emulator - Refer to https://firebase.google.com/docs/emulator-suite/install_and_configure
  3. firebase emulators:start - To start Emulator - Refer to https://firebase.google.com/docs/emulator-suite/install_and_configure
  4. firebase emulators:start --debug - To debug emulator run

General

  1. npm install -g firebase-tools - Update Firebase or if you want to setup your machine for this project.
  2. firebase auth:export usersyymmdd.csv --format=CSV - Export users data in csv format.