https://github.com/gziolo/czasnarower-frontend
Frontend for Czas na rower!
https://github.com/gziolo/czasnarower-frontend
client css javascript
Last synced: about 1 year ago
JSON representation
Frontend for Czas na rower!
- Host: GitHub
- URL: https://github.com/gziolo/czasnarower-frontend
- Owner: gziolo
- License: mit
- Created: 2013-03-01T21:52:11.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2022-04-30T09:08:02.000Z (about 4 years ago)
- Last Synced: 2025-04-01T02:48:28.724Z (about 1 year ago)
- Topics: client, css, javascript
- Language: JavaScript
- Homepage: http://www.czasnarower.pl
- Size: 2.75 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
czasnarower-frontend 0.3.1 [](https://travis-ci.org/gziolo/czasnarower-frontend)
====================
Frontend for [Czas na rower!](http://www.czasnarower.pl/)
## Getting started
### Requirements
1. [Node 0.10.x](http://nodejs.org/).
2. [grunt-cli](https://github.com/gruntjs/grunt-cli): run `npm install -g grunt-cli` if needed.
3. [bower](http://twitter.github.com/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:
* [Grunt](http://gruntjs.com/)
* [Bower](http://bower.io/)
* [Mocha](http://mochajs.org/)
* [Chai](http://chaijs.com/)
* [Sinon](http://sinonjs.org/)
Code base dependencies:
* [RequireJS](http://requirejs.org/)
* [json2](https://github.com/douglascrockford/JSON-js)
* [ES5-shim](https://github.com/kriskowal/es5-shim)
* [jQuery](http://jquery.com/)
* [Bootstrap](http://getbootstrap.com/2.3.2/)
* [Flight](http://flightjs.github.io/)
* [Lo-Dash](http://lodash.com/)
* [Backbone](http://backbonejs.org/)
## Copyright and license
Copyright (c) 2013 Czas na Rower http://www.czasnarower.pl.
czasnarower-frontend is distributed under the MIT License.