Giter Site home page Giter Site logo

firebase-tools's Introduction

firebase-tools

NPM version

These are the Firebase Command Line (CLI) Tools. They can be used to:

  • Administer your Firebase account
  • Interact with Firebase Hosting, our product to host your HTML, JS, CSS, images, etc.

To get started with the Firebase CLI, read through our hosting quickstart guide.

Installation

To install the Firebase CLI, you first need to sign up for a Firebase account. Then you need to install Node.js and npm. Note that installing Node.js should install npm as well.

Once npm is installed, get the Firebase CLI by running the following shell command:

npm install -g firebase-tools

This will provide you with the globally accessible firebase command.

Commands

The command firebase --help lists the available commands and firebase <command> --help shows more details for an individual command.

Here is the output of running firebase --help:

Usage: firebase <command>

  Available commands are:

  bootstrap
    Creates a new Firebase powered app from a prebuilt template to quickly
    get a project up and running. This creates a new folder and prompts
    you through all the required settings.

  deploy
    Deploys the current app to Firebase Hosting and creates your subdomain on
    firebaseapp.com if it doesn't exist already.

  init
    Initializes an existing Firebase app in the current directory and prompts
    you through configuring it for firebaseapp.com.

  open
    Opens the URL of the current Firebase app in a browser.

  list
    Lists the Firebases available to the currently logged in user.

  delete-site
    Deletes the current app from Firebase Hosting and displays a
    'Site not Found' page as if the site had never been deployed to.

  login
    Logs the user into Firebase. All commands that require login will prompt
    you if you're not currently logged in.

  logout
    Logs the user out of Firebase.

  -h, --help
    Shows this help screen. Use `firebase <command> --help` for more
    detailed help instructions.

  -v, --version
    Displays the current version.

  -s, --silent
    Silent mode for scripting - commands will error with non-zero status code
    instead of waiting for prompt if not enough information supplied.

Credit

Inspired by Luke Vivier's Firebase command line tools.

License

MIT

firebase-tools's People

Contributors

aputinski avatar jamestamplin avatar mikelehen avatar robertdimarco avatar schoonology avatar startupandrew avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.