A live preview lives here.
./
public/ -- The Folder holding your website
index.html -- The HTML page that is loaded first. The 'homepage'
css/ -- Holds all our stylesheets
pizza.css -- Our homepage's main styles
js/ -- Holds all our javascript scripts
pizza.js -- Our homepage's main script
img/ -- Holds all image assets
vendor/ -- Everything that's not ours. Aka other libraries (Bootstrap, jQuery..)
database.rules.json -- Firbase configuration files
firebase.json -- will be autogenerated
gulpfile.js -- Uses a node package to help us build. Feel free to ignore.
package.json -- Autogenerated by node to describe our project. Also feel free to ignore.
README.md -- This handy instruction file!
.gitignore -- If you're using git, this tells it what we don't want in the repo.
- Download Step 1 Code from Drive
- Run the code in the browser, either using
node
andgulp
or just opening theindex.html
--> if you havenode
installed:
--> runnpm install
from a command line in the base of this directory.
--> then runnpm install -g gulp
--> then rungulp dev
- Link CSS file
- Change the Theme Colors using CSS from:
-->#fec503
to#F44336
-->#f6bf01
to#E53935
- Add another Value Proposition
- Change the Value Proposition icons using Font Awesome
classes
- Link the Javascript and add Basics + Event Listeners
- Add Firebase to your project with the console
- Add Firebase Login and Google as a Sign-In Method
- Add Firebase Login code to
pizza.js
- Change the user icon in the nav bar on successful login.
- ? Add Firebase Hosting ? More advanced
--> Usenode
andnpm
--> runnpm install -g firebase-tools
--> then runfirebase init
from a command line in the base of this directory
--> then runfirebase deploy
- Firebase UI Web : More cohesive when working with many auth types
To use the source files, you will need to have node and npm installed globally along with Gulp.js. To start:
- Run
npm install
in the root directory - Run
gulp dev
and edit the files as needed
Copyright 2013-2016 Blackrock Digital LLC. Code released under the MIT license.