Front
This utilizes Galvanize's client-side stack with backbone. It is intended to be used with pgrunde/back.
Thunderdome
Galvanize's client-side stack:
- Backbone and React with ES2015 using the Babel transpiler
- Less with CSS minification
- Development and production build tasks with Gulp
- Linting with ESLint
- Testing with Mocha, Chai, and Sinon running on Karma
System Dependencies
Node.js should be installed on your system. We recommend installing it with nvm.
Once node is installed, make sure Gulp is installed globally:
npm install --global gulp
Installation
Thunderdome can be installed with:
npm install
Development
Run the development environment with:
gulp
A proxy server is built into the development environment. It can be configured in gulpfile.js
.
For live-reload functionality, install the chrome extension.
Testing can be run with:
npm test
Linting can be run with:
gulp lint
Production / Deployment
A production build can be created with:
gulp build
By default it will build to the dist
directory. Files are timestamped to trigger cache-busting.
The production directory can then be copied to the server / CDN.
Galvanize Product, 2015