- Add the
firebase
executable file in this repository to your/usr/local/bin
folder. - Run
sudo chmod +x /usr/local/bin/firebase
. - On your command line, run
firebase
. It will pull the docker image and install firebase-tools. - Run
firebase login:ci
, open the provided link in the browser and login to Firebase, then copy the token. - Create a
.env
file in the same folder as your firebase environment. - Add the
FIREBASE_TOKEN
variable to the.env
file and assign the generated token to it. - To serve with firebase-tools, run
firebase serve -o 0.0.0.0