Skip to content

html5cat/backbone-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes (AMD) Full

A version of Notes written using AMD via RequireJS.

Sources

The relevant pages for this project are:

and available as source in the directory:

full/amd/
  app/                // Application directory.
    js/               // JS sources (not served in prod)
    js-dist/          // Production bundle
  test/
    jasmine/          // Jasmine test directory

Development

The application uses Grunt for the frontend development workflow. Typically, a developer:

  • Installs all necessary components.
  • Runs a development server.
  • Develops!

Setup

First, install NPM and Bower dependencies:

$ npm install

Then copy over the vendor libraries to the application directory "app/js/vendor", which is .gitignore'd and not kept in source.

$ grunt build

From there, fire up a local static development server with:

$ grunt server

and from there you can view the application at:

Note that the application needs to be served and not accessed via file:// in order for all parts to properly work. You will want to leave the server running during development and refresh your browser to see changes.

Code Quality

We have several code quality checks for the project.

Run JsHint style checks:

$ grunt jshint

Run unit tests using Karma:

$ grunt test

Run everything:

$ grunt check

Next Steps

Generally speaking, just running:

$ grunt

builds the app and runs a basic set of quality checks. You can see more about available Grunt tasks with:

$ grunt --help

About

Backbone.js playground

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published