Skip to content

Firebase App Deployment

David Gonzalez edited this page Apr 17, 2017 · 2 revisions

TL;DR

npm uninstall -g firebase --save
npm install -g firebase --save
npm install -g firebase-tools
firebase login --no-localhost
firebase list
firebase use --add
firebase deploy

Removing previous version

npm uninstall -g firebase --save

Installing

npm install -g firebase --save
npm install -g firebase-tools

Logging in and listing authorized projects

firebase login
firebase list

Using remote servers (e.g. Cloud9 IDE)

firebase login --no-localhost
firebase list

Selecting project to work with (default can be set in .firebaserc)

Use project-id from previous list

firebase use <project-id>

If project need to be added to account

firebase use --add

Deploying

firebase deploy

You are done.