Go to file
2016-11-30 13:59:21 +00:00
result Revert "Labels changes according to options" 2016-11-10 20:48:25 +00:00
vote Put gunicorn command in list 2016-06-18 10:56:26 -07:00
worker Establishe redis connection after its lost after a few minutes 2016-11-30 13:59:21 +00:00
.gitignore Recreate worker as a .NET Core app 2016-06-11 14:26:04 -07:00
architecture.png Update architecture diagram 2016-06-19 12:14:38 -07:00
docker-compose-javaworker.yml Java and .NET Workers can co-exist 2016-11-15 14:56:00 -08:00
docker-compose-simple.yml moved docker-compose.yml to docker-compose-simple.yml and restored older version of docker-compose.yml with networks and volumes 2016-10-11 16:24:49 -07:00
docker-compose.yml moved docker-compose.yml to docker-compose-simple.yml and restored older version of docker-compose.yml with networks and volumes 2016-10-11 16:24:49 -07:00
dockercloud.yml Fix image names in dockercloud.yml 2016-06-18 10:49:05 -07:00
LICENSE Add LICENSE and MAINTAINERS 2016-03-31 11:49:23 -07:00
MAINTAINERS Add Mano as a maintainer 2016-10-20 10:25:10 +02:00
README.md Replace Java with .NET 2016-06-29 13:11:48 +02:00

Instavote

Getting started

Download Docker for Mac or Windows.

Run in this directory:

$ docker-compose up

The app will be running at http://localhost:5000, and the results will be at http://localhost:5001.

Architecture

Architecture diagram

  • A Python webapp which lets you vote between two options
  • A Redis queue which collects new votes
  • A .NET worker which consumes votes and stores them in…
  • A Postgres database backed by a Docker volume
  • A Node.js webapp which shows the results of the voting in real time