https://github.com/jplusplus/rf-departementales-2015
Radio France: département-level elections on March 22nd and 29th, 2015
https://github.com/jplusplus/rf-departementales-2015
Last synced: 4 months ago
JSON representation
Radio France: département-level elections on March 22nd and 29th, 2015
- Host: GitHub
- URL: https://github.com/jplusplus/rf-departementales-2015
- Owner: jplusplus
- License: lgpl-3.0
- Created: 2015-03-05T10:05:53.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-30T12:29:02.000Z (about 11 years ago)
- Last Synced: 2024-04-14T04:55:28.720Z (about 2 years ago)
- Language: JavaScript
- Homepage: http://elections.radiofrance.fr/departementales-2015
- Size: 6.69 MB
- Stars: 6
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Radio France: département-level elections on March 22nd and 29th, 2015
[Download](https://github.com/jplusplus/rf-departementales-2015/archive/gh-pages.zip) • [Fork](https://github.com/jplusplus/rf-departementales-2015) • [License](https://github.com/jplusplus/rf-departementales-2015/blob/master/LICENSE) •
(c) Radio France under GNU Lesser General Public License
## Installation
Install `node` and `npm` then run:
```bash
make install
```
You can now start serving static files with gulp!
```bash
make run
```
## Fetch data
The data are downloaded fron the ministry. Please install the packages `python-requests` and `python-bs4` then run:
```bash
cd scripts
python getResults.py 1
# Or for the second tour
python getResults.py 2
```
## Available commands
Command | Description
--- | ---
`make build` | Build the app to the `dist` directory
`make deploy` | Deploys the app on Github Pages
`make install` | Downloads all app's components
`make run` | Runs the development server on port *3000*
`make zip` | Builds and exports the app to a zip file
## Technical stack
This small application uses the following tools and opensource projects:
* [AngularJS](https://angularjs.org/) - Javascript Framework
* [Yeoman: gulp-angular](https://github.com/Swiip/generator-gulp-angular) - Static app generator
* [Leaflet: Angular Directive](http://tombatossals.github.io/angular-leaflet-directive/) - Leaflet Map with Angular
* [UI Router](https://github.com/angular-ui/ui-router/) - Application states manager
* [LoDash](http://lodash.com/) - Utility library
* [Bootstrap](http://getbootstrap.com/) - HTML and CSS framework
* [Less](http://lesscss.org/) - CSS pre-processor
* [CoffeeScript](http://coffeescript.org/) - Javascript pre-processor