Skip to content
This repository has been archived by the owner. It is now read-only.
A simple gallery web app used as a playground to try backbone, qunit, grunt
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
img/gallery
js
tests
.gitignore
README.md
gallery_data.json
grunt.js
index.html
package.json

README.md

Gallery

A simple gallery web app used as a playground to try backbone, qunit, grunt.

Initially I built this small application to try Backbone.JS library. Later, I used it asa code base to play with Grunt on a concrete case.

Dependencies

I currently use the following grunt plugins :

Install

Just clone the repo. You already know how to do this, right? Then you'll probably need to run npm install in the root folder to install grunt dependencies.

Tasks

As the app build system is based on Grunt, there's several usefull tasks to know about:

  • clean: Removes the dist folder
  • build: Build the app into the dist folder
  • clean-build: clean then build
  • Default task is defined to lint qunit:dev build qunit:dist. Which means: lint the code, run the tests on dev version, build the app and run the tests again on the built version.

See it in action

The built app lives in the gh-pages branch. You can give it a try on the demo page.

You can’t perform that action at this time.