This file contains 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
These are SQL Notes |
This file contains 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
Create new project on Firebase website | |
Go to Project Overview > Add Firebase To Your Web App | |
Copy very first script tag (only one line) | |
Go to index.html and add that line before all other script tags | |
Add apiKeys.json and apiKeys.example.json to the db directory, if you haven't already | |
In apiKeys.json, copy the section in the second set of script tags | |
Do the same thing in apiKeys.example.json, but make sure to take out all the key values (because this is the file getting uploaded to Github) | |
Make sure to add "db/apiKeys.json" and "public" to your Gitignore file | |
This is a good time for a commit | |
In Firebase, go to Database > Get Started |
This file contains 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
Do touch .gitignore, and type .DS_Store in it, then type lib/node_modules in it | |
Make "dist" "javascripts" "lib" and "styles" directories | |
Touch javascripts/main.js | |
Touch index.html | |
Touch styles/main.css | |
Do boilerplate code | |
npm install grunt-cli -g | |
CD into lib folder | |
npm init | |
Hit enter until you see daviddassau$ |