This is a project submitted for the Udacity Fullstack nanodegree online course. It sets up a PostgreSQL database and then tests the suitability of the database for facilitating the scoring of a swiss-style tournament by making use of the psycopg2 database API.
- Install Vagrant and VirtualBox
- Clone the tournament repository
- type 'vagrant up' from the commandline
- connect to virtualbox through vagrant by typing 'vagrant ssh' from the command line
- change to the shared folder where you cloned the repository by typing 'cd /foldername' where 'foldername' is the directory of the cloned repository
- from the commandline type 'psql'
- setup the database by typing \i tournament.sql
- exit psql by typing \q
- from the command line type 'python tournament_test.py'