-
Install Vagrant and VirtualBox
-
Clone the fullstack-nanodegree-vm repository from URL:https://github.com/udacity/fullstack-nanodegree-vm
-
Launch the Vagrant VM: a. Open the command line and navigate to tournament folder. b. Run 'vagrant up' and then 'vagrant ssh' commands.
-
Write SQL database and table definitions in a file (tournament.sql) a. To run the tournament.sql file, Type 'psql' and then \i tournament.sql b. To connect to database enter '\c tournament'
-
Write Python functions filling out a template of an API (tournament.py)
-
Run a test suite to verify your code (tournament_test.py) a.To run the test suite run the command 'python tournament_test.py' command in tournament folder.
The below document helps in getting started for the project.