This document explains how to use the update_showcase.py script to manage the Instructor Reports Showcase.
By default, the script preserves ALL your manual work:
python update_showcase.py
This will:
instructor_reports directoryIf you want to update information for existing reports from their HTML source files:
python update_showcase.py --refresh-existing
This will:
# Specify a different showcase file
python update_showcase.py --showcase-file path/to/showcase.html
# Specify a different reports directory
python update_showcase.py --reports-dir path/to/reports
# Combine options
python update_showcase.py --refresh-existing --showcase-file path/to/showcase.html
If you ever lose your showcase data, you can use the recovery script:
python recover_showcase_data.py
This will:
Default (no options): Use when adding new reports or making minor updates. All your manual work is preserved.
Refresh Existing (–refresh-existing): Use when you’ve made significant changes to HTML files and want to update the showcase to reflect those changes.
Recovery (recover_showcase_data.py): Use if you’ve lost data or want to roll back to a previous version.
instructor_reports directorypython update_showcase.pyinstructor_reports directorypython update_showcase.py --refresh-existingpython recover_showcase_data.pyThe script creates two types of backups automatically:
instructor_reports_showcase_YYYYMMDD_HHMMSS_backup.htmlinstructor_reports_showcase_YYYYMMDD_HHMMSS_data.jsonBoth backup types can be used with the recovery script.