# Udacity Fullstack Nanodegree Portfolio

Here are the running instructions for each of the projects

## 1. Movie Trailers Website
Please refer to https://github.com/wiseleywu/P1-fresh_tomatoes, this will be merged to the current directory in the future

## 2. Tournament Results
- Clone this repository 
- Launch the Vagrant VM
- Navigate to [vagrant/tournament] (vagrant/tournament)
- Run [tournament_test.py] (vagrant/tournament/tournament_test.py) to perform unit tests
- Run [tournament.py] (vagrant/tournament/tournament.py) to engage in demo mode, which provide extra functionalities such as:
  - Compatible with odd number of players by assigning one random player a "bye" for each round
  - Support games where draw is possible
  - When two players have the same number of wins, rank them according to OMW (Opponent Match Wins), the total number of wins by players they have played against



# Udacity Fullstack Nanodegree Portfolio

Here are the running instructions for each of the projects

## 1. Movie Trailers Website
Please refer to https://github.com/wiseleywu/P1-fresh_tomatoes, this will be merged to the current directory in the future

## 2. Tournament Results
- Clone this repository
- Launch the Vagrant VM
- Navigate to [vagrant/tournament] (vagrant/tournament)
- Run [tournament_test.py] (vagrant/tournament/tournament_test.py) to perform unit tests
- Run [tournament.py] (vagrant/tournament/tournament.py) to engage in demo mode, which provide extra functionalities such as:
  - Compatible with odd number of players by assigning one random player a "bye" for each round
  - Support games where draw is possible
  - When two players have the same number of wins, rank them according to OMW (Opponent Match Wins), the total number of wins by players they have played against

## 3. Item Catalog
- Clone this repository
- Navigate to [vagrant/web_catalog] (vagrant/web_catalog)
- Modify line 121 of [populator.py] (vagrant/web_catalog/populator.py) with your name, g-mail address, and a link of your profile picture (optional)
- Launch the Vagrant VM
- Run [database_setup.py] (vagrant/web_catalog/database_setup.py) to initialize the catalog database
- Run [populator.py] (vagrant/web_catalog/populator.py) to populate database with pre-defined users and items
- Run [project.py] (vagrant/web_catalog/project.py) and navigate to [http://localhost:5000/] (http://localhost:5000/) in your browser
- Sign in with your google account at top right corner of the website. Once signed in, you will be able to see what you can and cannot modify on the website
- To test Facebook Sign in, either make sure your g-mail address is the same as your Facebook login or modify [populator.py] (vagrant/web_catalog/populator.py) with the proper credentials

Update Readme.md with setup instructions for project 3
Update Readme.md with setup instructions for project 3
