In this section, we are going to deploy our application using the Firebase command-line tools. We have already done it. Check the Google Firebase documentation for a quick start: https://firebase.google.com/docs/hosting/quickstart.
Basically, if you haven't yet installed Firebase tools, do it now!
npm install -g firebase-tools
Now switch inside your project's directory and initialize a Firebase project:
firebase init
From the drop-down menu that appears, choose hosting.
Note
It's not really obvious, so keep in mind that to actually choose something from the list, you have to press Space.
After that, select your ProFitOro project from the list and after that, indicate the folder dist
for the build's output directory:
Answer No
to the next question and you are done! Make sure that Firebase creates both firebase.json
and .firebaserc
files in your project's folder.
This is what...