Common code for the Relational Databases and Full Stack Fundamentals courses
- Virtual Box
- Vagrant
- terminal
git clone https://github.com/brianhoppus/tournament-planner
-
In your terminal, navigate to your cloned folder location
cd ~/Desktop/tournament-planner/vagrant
-
Startup and login to your vagrant virtual machine
vagrant up vagrant ssh
-
Inside the VM, navigate to the code directory, and setup the database
cd /vagrant/tournament psql \i tournament.sql \q
-
Finally, run the unit tests!
python tournament_test.py