In the terminal: $ ng build --prod $ npm install -g firebase-tools $ firebase login $ firebase init $ firebase deploy
$ ng add @angular/fire