Add a mode to the application in which it reads .env and checks the configuration, then exits without doing any migrations. This would let the user get some validation for the values in the file. Things that should be checked…
Canvas API — Check by connecting to the Canvas API and performing a simple query using the supplied URL and key. (Could be the tool ID queries, below.)
UDW — Check by connecting to UDW and performing a simple query.
Account ID — Check by looking up the ID in the Canvas API and displaying its name.
Term IDs — Check by looking up the IDs in the Canvas API and displaying their names and dates.
Tool IDs — Check by looking up the IDs in the Canvas API and displaying their names.
Add a mode to the application in which it reads
.env
and checks the configuration, then exits without doing any migrations. This would let the user get some validation for the values in the file. Things that should be checked…