Food Hunter

Deploy frontend

Setup firebase hosting in project

You should install firebase CLI before it
In the root of your project run:
$ firebase init hosting
You will be asked for next questions:
  1. 1.
    Please select an option: Use an existing project
  2. 2.
    Select a default Firebase project for this directory: [project-name]
  3. 3.
    What do you want to use as your public directory? build
  4. 4.
    Configure as a single-page app (rewrite all urls to /index.html)? Yes
  5. 5.
    Set up automatic builds and deploys with GitHub? No
  6. 6.
    File public/404.html already exists. Overwrite? No
  7. 7.
    File public/index.html already exists. Overwrite? No
Then, run:
$ firebase deploy --only hosting
Congratulates! You've deployed frontend of admin