April 2018
Intermediate to advanced
284 pages
6h 43m
English
You will need to install the Firebase CLI to deploy your static web app.
The Firebase CLI can be installed with a single command:
npm install -g firebase-tools
Now, let's deploy our HelpDesk application on cloud. We have two projects for HelpDesk: react app (a project called code) and server app (a project called node). Let's first host or deploy our client-side react app on Firebase Hosting.
Go inside your project directory (code) and run the following command to initialize the configurations:
firebase init
As shown in the following screenshot, it will ask you "which Firebase feature do you want to set up for this folder?," and you need to select 'Hosting':
It will create a firebase.json file in the root directory of ...