Skip to content
This repository has been archived by the owner on May 23, 2020. It is now read-only.

MieuxVoter/moje

Repository files navigation

This is a VoTe with Majority Judgment.

Installation

The code is assuming you are using python > 3.5 and django > 2.0.

  1. Install dependancies:

    pip install -r requirements.txt

  2. Copy keys.json to keys.local.json and update parameters. To create a secret key, you can execute the script ./new_private_key.py and copy the given key.

  3. Connect to your database.

  4. Compile translations:

    django-admin compilemessages

For deployment to production, always think to the django checklist.

Run server

./manage.py runserver

Roadmap

  • La question doit paraitre sur le bulletin moment de voter

  • quand on vote, à défaut c’est en blanc, et quand on clique sur une mention, ca se colorie avec la couleur de la mention

  • les résultats affichent la mention majoritaire (coloré avec sa couleur), le total des notes au dessus, et le total en dessous