Skip to content

daveleslie/tournament

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swiss-style tournament results database

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.

The following steps are required to run the application:

Setup your environment
  1. Install Vagrant and VirtualBox
  2. Clone the tournament repository
Start your vagrant session
  1. type 'vagrant up' from the commandline
  2. connect to virtualbox through vagrant by typing 'vagrant ssh' from the command line
  3. change to the shared folder where you cloned the repository by typing 'cd /foldername' where 'foldername' is the directory of the cloned repository
Open the PostgreSQL database client and import database schema
  1. from the commandline type 'psql'
  2. setup the database by typing \i tournament.sql
  3. exit psql by typing \q
Run the unit tests
  1. from the command line type 'python tournament_test.py'

About

FSND P2 Tournament Results

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages