wduncanfraser / tournament_planner

Project 2 for the Udacity Full Stack Nonodegree

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tournament Planner

Purpose

Completed as part of Project 2 for the Udacity Full Stack Nonodegree.

Requirements

  1. Vagrant
  2. VirtualBox

Usage

  1. Clone repository: git clone https://github.com/wduncanfraser/tournament_planner.git.
  2. Run vagrant up and then vagrant ssh to provision and log into the vm.
  3. Once logged into the VM, navigate to the project files with cd /vagrant.
  4. Run python tournament_test.py to run the unit tests for the tournament planner.

Structure

  • 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.

External Resources

  1. Used scoring rules from http://www.wizards.com/dci/downloads/swiss_pairings.pdf

Legal

Author: W. Duncan Fraser

License: MIT License

About

Project 2 for the Udacity Full Stack Nonodegree

License:MIT License


Languages

Language:Python 92.9%Language:Shell 7.1%