Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/angus-c/flight-exercise
https://github.com/angus-c/flight-exercise
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/angus-c/flight-exercise
- Owner: angus-c
- License: mit
- Created: 2014-01-22T00:41:30.000Z (almost 11 years ago)
- Default Branch: skeleton
- Last Pushed: 2014-02-15T04:54:04.000Z (over 10 years ago)
- Last Synced: 2024-04-20T12:19:32.448Z (7 months ago)
- Language: JavaScript
- Size: 218 KB
- Stars: 7
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# flight-exercise
## Installation
```
npm install & bower install
```## Static file server
A local installation of [Gulp](http://gulpjs.com) provides a Node-based
foundation for running development and build tasks.The watch task serves the contents of the 'app' directory on
`http://localhost:8080/`, and watches files for changes. Install Chrome's
[LiveReload extension](https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei)
to have the browser tab automatically refresh when files are changed.```
npm run watch
```Alternatively, the server (which is a local installation of
[node-static](https://github.com/cloudhead/node-static/)) can be run on its
own:```
npm run server
```Additional tasks can be included in the `gulpfile.js`. For further information
about using Gulp, please refer to the [Gulp website](http://gulpjs.com/).## Unit tests
A local installation of Karma is used to run the JavaScript unit tests.
Karma makes it easy to watch files and run unit tests in real browsers:```
npm run watch-test
```This is the recommended approach because the moment your unit tests start
failing, you'll be notified in the terminal.To run the unit tests just once in PhantomJS (for CI), you must install
PhantomJS and then run:```
npm test
```For further information about configuring Karma, please refer to the [Karma
website](http://karma-runner.github.io/).## Contributing to this project
Anyone and everyone is welcome to contribute. Please take a moment to
review the [guidelines for contributing](CONTRIBUTING.md).* [Bug reports](CONTRIBUTING.md#bugs)
* [Feature requests](CONTRIBUTING.md#features)
* [Pull requests](CONTRIBUTING.md#pull-requests)