this is a backbone.js client-side app for the hausparty api.
prerequisites:
node.js installed, npm installed, bower installed, gulp installed, firebase tools installed
setup node packages:
npm install
setup bower packages
bower install
develop / build:
start a development environment / do a build:
(turn on livereload extension in your browser)
gulp
If you change files, be sure to "gulp" from the command line before you deploy on firebase to build a new bundle
deploy:
deploy to firebase:
firebase deploy
File Structure
/build --> scratch folder during build
/gulp --> build tasks
/node_modules --> vendor libraries
/src --> hausparty source code
/static-fileserver --> gets deployed to firebase
package.json --> lists transforms, globals, etc.
gulpfile.js --> points to /gulp tasks
Source Folder File Structure
/helpers --> format data for templates
/models --> business logic
/partials --> can be used inside of templates
/spec --> tests (minimal)
/styles --> css controls how things look
/styles/images --> where to keep images
/styles/fonts --> where to keep fonts
/templates --> rendered by views
/views --> put content on the page
index.js --> the main app. contains the router.