Built with CoffeeScript, Brunch, Backbone.js, SocketIO, SoundManager, Handlebars, Sass, Compass.
$ npm install .
You'll also need to install Compass.
The .coffee
, .sass
, and .hbs
files need to be compiled
before serving them to clients. We use Brunch for that.
Compiled & mified production code is included in the repo in
build/production
. To update it after making changes to any of
the source files, run:
$ brunch build --env config-dist.coffee
Take a look at ./fabfile.py
for some deployment automation inspiration.
Non-minified, debug-friendly compilation. Output goes to build/development
.
Start a watcher for on-the-fly compilation for changed files:
$ brunch watch
Note: Please make sure to configure WEB_APP_DIR
path
in your local settings for cloudtunes-server
, which by default
points to the production build directory.