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
Comments