A Swiss style pairing tournament database with python, psql Test suite and comments provided by Udacity
- Download Vagrant and Virtual Box
- Download or clone Github Repo
- Make sure your command line has python, if not download python to your terminal
- 
All files in repo must be nested within a file conaining a Vagrant file like so: /vagrant_folder/tournament_folder/tournament.py /tournament_test.py /etc. /vagrant.file 
- 
CD into root directory of vagrant file 
- 
run vagrant upfollowed byvagrant ssh
- 
CD to /vagrant/tournament_folder
- 
First creat the database and tables by running psqlthen in psql run\i tournament.sql1b. When running the tournament multiple times under different circumstances you may run into errors regaurding the deletion of data in tables. To overcome this, manually remove data by navigating to psql and running DROP (tablename) CASCADEfor all tables
- 
To run the test suite run python tournament_test.py
- 
To edit database and table, edit the file tournament.sql
tournament.py , tournament_test.py , tournament.sql , tournament.pyc , README.md