Skip to content

Simple app for alternative voting schemes, written in Elixir and ReasonML

Notifications You must be signed in to change notification settings

mikenomitch/condorcet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Condorcet/Poller.io

This is the code for Poller.io. Poller allows groups to make better decisions using ranked choice voting and alternative election schemes. Results are tallied for Instant Runoff Voting, Borda Counts, the Condorcet Method, and Plurality elections.

The application is written using Elixir and ReasonML. It is hosted on GCP.

For more information on Ranked Choice Voting, check out CGP Grey's video series on the topic.

Dependencies

  • Elixir
  • Postgres
  • Node
  • Bucklescript npm install -g bs-platform
  • Parcel npm install -g parcel-bundler

Running the App (Local)

  • Change to ./api directory

  • Install dependencies with mix deps.get

  • Create and migrate your database with mix ecto.setup

  • Change to ./ui directory

  • bsb -make-world

  • npm install

  • npm run dev

  • npm run js

  • Change to home directory

  • Run ./bin/run.sh

  • Access the app at localhost:4000

Running the App (Docker)

  • Run ./bin/docker_build.sh

  • Run ./bin/docker_run.sh

  • Access the app at localhost:4000

About

Simple app for alternative voting schemes, written in Elixir and ReasonML

Resources

Stars

Watchers

Forks