kandimat-user-app/README.md

25 lines
1.1 KiB
Markdown
Raw Normal View History

2019-08-31 17:23:59 +02:00
# CANDYMAT
2017-08-09 15:15:42 +02:00
A Vue.js powered, progressive web voting application for upcoming internal elections of Bündnis90/Die Grünen. Candymat is hosted as a service of netzbegruenung e.V.
2017-08-09 15:15:42 +02:00
## Calculation Model
2019-04-30 18:57:17 +02:00
The calculation model for voting has been defined by the German Federal Agency for Civic Education _(Bundeszentrale für politische Bildung)_. A good overview can be found in this PDF: [`resources/Rechenmodell des Wahl-O-Mat.pdf`](resources/Rechenmodell%20des%20Wahl-O-Mat.pdf).
2019-04-11 10:01:59 +02:00
## ⌨️ Development
2017-08-09 15:15:42 +02:00
2019-04-11 10:01:59 +02:00
This is a Vue.js progressive web application, developed with [`@vue/cli`](https://github.com/vuejs/vue-cli).
2017-08-09 15:15:42 +02:00
2019-04-11 10:01:59 +02:00
| Command | Description |
| ------- | ----------- |
| `npm install` | Installs dependencies |
| `npm run serve` | Serve with hot reload at localhost:8080 |
| `npm run build` | Build for production with minification |
| `npm run test:unit` | Run all unit tests |
| `npm run lint` | Runs `standard` over all `.js` and `.vue` files |
| `npm run svg` | Creates all SVG files used in the application |
| `npm run admin` | Creates `config.yml` for Netlify CMS admin UI |
## Props
This user app is based on source code of EUROMAT targeted at european elections.