Skip to content

Instantly share code, notes, and snippets.

@wataruoguchi
Last active September 26, 2018 05:53
Show Gist options
  • Save wataruoguchi/3a74e526e04f374023b6da1e5f555478 to your computer and use it in GitHub Desktop.
Save wataruoguchi/3a74e526e04f374023b6da1e5f555478 to your computer and use it in GitHub Desktop.
$ # move to <proj> directory
$ cd <proj>
$ # install firebase-tools
$ sudo npm i -g firebase-tools
$ # login
$ firebase login
$ # initialize Cloud Functions
$ firebase init functions
$ # [create a new project]
- ? Select a default Firebase project for this directory:
$ # all should be default
- ? What language would you like to use to write Cloud Functions?
- ? Do you want to use ESLint to catch probable bugs and enforce style?
- ? Do you want to install dependencies with npm now?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment