Skip to content
Snippets Groups Projects
deploy_docker_a_stripped.py 636 B
Newer Older
  • Learn to ignore specific revisions
  • tuhe's avatar
    tuhe committed
    # example_docker/instructor/cs103/deploy.py
    if __name__ == "__main__": 
        # Step 1: Deploy the students files and return the directory they were written to
        setup_grade_file_report(Report3)  # Create report3_complete_grade.py which tests everything
    
        fout, Report = remove_hidden_methods(Report3, outfile="report3.py")  # Create report3.py without @hide-methods
        setup_grade_file_report(Report)                                      # Create report3_grade.py for the students
    
        student_directory = "../../students/cs103"
        snip_dir("./", student_directory, exclude=['*.token', 'deploy.py', 'report3_complete*.py', '.*'])