Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View daviddassau's full-sized avatar

David T. Dassau daviddassau

View GitHub Profile
@daviddassau
daviddassau / SQL Notes
Created February 17, 2018 17:40
SQL Notes
These are SQL Notes
@daviddassau
daviddassau / Firebase Installation Guide
Last active November 13, 2017 23:53
Firebase Installation Guide
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
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$