top of page
Search
Writer's pictureKiazsoft

firebase

Updated: Oct 12, 2020

Setup Mac to use firebase

$ npm install -g firebase-tools

Login to you firebase account

$ firebase login

Initialize your project for firebase

$ firebase init

Once initialized add your project to firebase project

$ firebase use --add
$ ? Which project do you want to add? (Use arrow keys)
  proj1
 >proj2
  proj3

List firebase projects

$ firebase projects:list

Build your angular project for prod

$ ng build --prod

Once selected your local project will point to selected firebase project.

Now deploy your project to firebase

$ firebase deploy

After successful deploy it will display the Project Console & Hosting URL

9 views0 comments

Recent Posts

See All

Mac Useful Commands

Show hidden files in Finder Command + Shift + .

Git

Removing file from all history. git filter-branch --force --index-filter \ "git rm --cached --ignore-unmatch PATH-TO-FILE" \...

MongoDB

Mongo Sample find query db.getCollection("user").find( { "username" : "kia" }, {//projections "username": 1.0, //1.0 means include...

Comments


bottom of page