This tool is built ontop of the content_check.sh. It has in interactive UI and more options available.

You can find the python script at this link.

Setting up the environment for the script

  1. Download the script or clone the repository

  2. Check your python version to make sure its python 3.11

    Run this command to check your python3 version python3 --version

    If it is not Python 3.11 and you have a Mac run the following commands:

     # INSTALL HOMEBREW IF YOU DON'T HAVE IT
     $   /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    
     # INSTALL PYTHON 3
     $   brew install python3
    
  3. Download package dependencies

    You need to download PySimpleGUI. Run the following commands:

     brew install python-tk
     pip3 install pysimplegui
    

Running the script

Go to the following section depending on your needs:

  1. Lesson Downloaded
  2. No Lessons Downloaded
  3. Multiple Lessons Downloaded
  4. Check Episodes Folder
  5. Check config.yaml
  6. Check a single episode

  7. Run the Python Script

    Run the script with the command python3 content_check.py.
    It should display the following:

    Home

If you have a LESSON downloaded

  1. Click on the browse button

    It should display a file system for you to navigate.

    Browse

  2. Navigate to your LESSON folder

    Navigate to the folder that you have your lesson in and click choose.

    Choose

  3. Click Run and read the output

    Run

  4. Clear output and pick another folder and repeat

    Pressing clear will clear the Results Window

    Clear

If you don’t have a LESSON downloaded

  1. Click the Remote Repo Button

    It will open a pop-up where you can put the link to the remote repository.

    Remote Repo

  2. Enter the URL to the remote Repository

    Find the url to the remote repository on github. Then enter it into the text field and click search.

    Search

  3. Click Run and read the output

    Run Remote

VERY IMPORTANT YOU HAVE TO CLOSE THE APPLICATION USING THE CLOSE BUTTON OTHERWISE THE TEMPORARY DIRECTORY IS NO LONGER TEMPORARY

If you have multiple LESSON’s downloaded

  1. Open the directory that has the multiple lessons.

    Click browse and find the directory that has all of the lessons.

    Directory

  2. Click on the Lesson you want to run

    Click on the lesson you want to run

    Click on Lesson

  3. Click run

    Click run

    Click run

If you only want to check over the Episodes Folder

  1. Click on the episodes folder

    Click on Episodes

  2. Click Run

    Episodes Only Run

If you only want to check over config.yaml

  1. Click on the config.yaml file

    config

  2. Click Run

    config run

If you only want to check over a single episode

  1. Click on the episode you want to run

    episode

  2. Click Run

    episode run