Last active
February 28, 2019 03:04
-
-
Save thiagosouza/612b8bf860435b20fd4d337922b6a6f2 to your computer and use it in GitHub Desktop.
Firebase setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir mvp-blockchain-serverless && cd $_ #creates a folder for your porject and enter it | |
touch .nvmrc && echo "8" >! .nvmrc && cd . #install nvm and put a nvmrc file on the directory | |
npm init #initialize npm package | |
npm install firebase-functions@latest firebase-admin@latest --save #install firebase tools locally | |
npm install -g firebase-tools #install firebase tools globally | |
firebase login #authenticates your computer to manage the firebase project | |
firebase init functions #initialize a new firebase function | |
#language = javascript | |
#ESLint = y | |
#install packages = y | |
firebase list #list all of your Firebase projects | |
firebase use --add mvp-blockchain-serverless |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment