Food Hunter
Search…
Food Hunter
Introduction
Before installation
Prepare Firebase
Setup database
Admin installation
Import demo data
Deploy backend
Run local
Deploy frontend
Client app installation
About
Features
Run app
Customization
Publishing
DEFINE BASICS
Adding users
Adding restaurant
Powered By
GitBook
Deploy frontend
Setup firebase hosting in project
You should install
firebase CLI
before it
In the root of your project run:
1
$ firebase init hosting
Copied!
You will be asked for next questions:
1.
Please select an option:
Use an existing project
2.
Select a default Firebase project for this directory:
[project-name]
3.
What do you want to use as your public directory?
build
4.
Configure as a single-page app (rewrite all urls to /index.html)?
Yes
5.
Set up automatic builds and deploys with GitHub?
No
6.
File public/404.html already exists. Overwrite?
No
7.
File public/index.html already exists. Overwrite?
No
Then, run:
1
$ firebase deploy --only hosting
Copied!
Congratulates! You've deployed frontend of admin
Admin installation - Previous
Run local
Next - Client app installation
About
Last modified
1yr ago
Copy link