Frontend for Czas na rower!
Switch branches/tags
Nothing to show
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.
grunt
img
js
less
spec
tools/eclipse
.editorconfig
.gitattributes
.gitignore
.jshintrc
.nvmrc
.travis.yml
Gruntfile.js
LICENSE.md
README.md
bower.json
config.js
package.json

README.md

czasnarower-frontend 0.3.1 Build Status

Frontend for Czas na rower!

Getting started

Requirements

  1. Node 0.10.x.
  2. grunt-cli: run npm install -g grunt-cli if needed.
  3. bower: run npm install -g bower if needed.

Windows installation

Remember to set Git and Node path in environment variable %PATH%.

Building distribution version

  1. Run npm install to install build dependencies.
  2. Run bower install to install lib dependencies.
  3. Run grunt build and js, css and images will be placed in dist/frontend/.

Grunt tasks

  • Run grunt spec to execute JSHint checks and Mocha tests.
  • Run grunt css-development to generate development version of CSS files and images.
  • Run grunt css-production to generate production version of CSS files and images.
  • Run grunt js-development to generate development version of JS files.
  • Run grunt js-production to generate production version of JS files.
  • Run grunt server to run local server. Then visit http://localhost:8899/.
  • Run grunt build-development to perform full development build (JS verification, buildind JS, CSS and images).
  • Run grunt build to perform full production build (JS verification, buildind JS, CSS and images).
  • Run grunt to perform JavaScript validation and start local server. Then visit http://localhost:8899/.

How to run tests

Browser

Run grunt. Then visit http://localhost:8899/spec/.

CLI

Run npm test.

Dependencies

Development dependencies:

Code base dependencies:

Copyright and license

Copyright (c) 2013 Czas na Rower http://www.czasnarower.pl.

czasnarower-frontend is distributed under the MIT License.