Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation update #21

Open
6 of 8 tasks
lsloan opened this issue Sep 7, 2023 · 2 comments · Fixed by #23
Open
6 of 8 tasks

documentation update #21

lsloan opened this issue Sep 7, 2023 · 2 comments · Fixed by #23
Assignees
Labels
📖 documentation Improvements or additions to documentation

Comments

@lsloan
Copy link
Member

lsloan commented Sep 7, 2023

As discussed in 7 Sept 2023 meeting, update documentation about…

  • VPN must be enabled to access UDW
    • Using UDW is recommended because it speeds up the application when many courses are being updated
    • E.g., when the app is used with a large sub-account
  • Mention running the app again
    • Running the app multiple times is OK
    • Subsequent runs will make the same changes as the first
    • Sometimes subsequent runs are necessary to update courses that were created very recently and weren't updated by the just previous run
  • Mention Docker build/update process
    • The build/update process shouldn't take more than 2–3 minutes
    • Only runs when a new version of the app is used or new versions of its dependencies are available
    • If nothing has changed since the last time the app was run, Docker will have little or nothing to build/update before running the app
  • Testing with brand new courses may need to disable warehouse
    • If testing with new courses in Canvas beta, they may not appear in UDW and will not be updated
    • It's OK to disable UDW to work with new courses
  • What happens if some courses aren't changed? Wait 24–48 hours.
    • In production, this may happen if the course is relatively new and their data doesn't appear in UDW
    • Waiting 24–48 hours, depending on when the course was created, will give enough time for the course to appear in UDW
  • Changes to env file required to work with different Canvas instance
    • Which env values need to be changed to work with a different instance of Canvas?
      • API_URL
      • API_KEYmaybe, e.g., if the key in the beta instance wasn't copied from the production instance
  • How to interrupt the running application?
    • Pressing ^C will tell Docker to stop running the app
    • Docker will start a "graceful" shutdown of the app
    • If gracefulness isn't desired, press ^C again to force a quick stop
  • The app is resumable
    • If the app doesn't complete its updates, due to any kind of interruption (e.g., user intervention, network problems, etc.) running the app again will cause it to continue where it left off
    • I.e., …
      • if the config was to change tool A to tool B in many courses and it gets interrupted, then the courses that were processed up to the moment of the interruption will have been changed from tool A to tool B
      • to update the remaining courses from tool A to tool B, simply run the app again with the same config
      • the app will examine all courses and skip those that already have tool A replaced with tool B

This issue is a rough draft of the documentation updates.

@lsloan lsloan added the 📖 documentation Improvements or additions to documentation label Sep 7, 2023
@lsloan lsloan self-assigned this Sep 7, 2023
@lsloan
Copy link
Member Author

lsloan commented Sep 7, 2023

@ziegler1960, tell us if you think of any other changes or additions.

lsloan added a commit to lsloan/tool-migration that referenced this issue Sep 8, 2023
Includes…
*  VPN must be enabled to access UDW
*  Mention running the app again
*  Mention Docker build/update process
*  How to interrupt the running application?
*  The app is resumable
@lsloan lsloan linked a pull request Sep 8, 2023 that will close this issue
@lsloan lsloan closed this as completed in #23 Sep 8, 2023
@lsloan
Copy link
Member Author

lsloan commented Sep 8, 2023

Resuming next part of doc updates…

@lsloan lsloan reopened this Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📖 documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant