A simple Django app that uses Rethinkdb to keep track of the votes cast by users and Django-Channels for real-time update
To run this locally you need Python, Redis, Rethinkdb. On mac you can install Redis and Rethinkdb using Homebrew
brew update && brew install redis
brew update && brew install rethinkdb
- Install requirements:
pip install -r requirements
- Start redis server in a separate terminal:
redis-server --port 7777
- Start the Rethinkdb server in a separate terminal:
rethinkdb
- Start the Django application in a different terminal:
./manage.py runserver
***Note: The JS code is messy(Not a JS developer). Excuse my front-end skills.
Dockerize