Completed as part of Project 2 for the Udacity Full Stack Nonodegree.
- Clone repository:
git clone https://github.com/wduncanfraser/tournament_planner.git
. - Run
vagrant up
and thenvagrant ssh
to provision and log into the vm. - Once logged into the VM, navigate to the project files with
cd /vagrant
. - Run
python tournament_test.py
to run the unit tests for the tournament planner.
- Vagrantfile: Vagrant VM configuration.
- pg_config.sh: Provisioning script for the Vagrant VM. Installs the desired packages and configures the tournament database.
- tournament.sql: SQL definitions for the database schema.
- tournament.py: Function definitions for the tournament planner.
- tournament_test.py: Unit tests for the tournament planner functions.
- Used scoring rules from http://www.wizards.com/dci/downloads/swiss_pairings.pdf
Author: W. Duncan Fraser
License: MIT License