Add first time setup page
A setup page will make populating the database the first time a nonmanual step and can verify that other configuration has been completed successfully. The page would be a simple form asking for the values to be used to initialize the institutions table in the database.
Other configuration that can be validated:
- Oauth permissions for accessing the course
- API/LTI keys
- Environment variables that need to be set in
.env.local(BASE_URL, possibly JWK_BASE_URL, APP_ENV, possibly DATABASE_URL)
The page should launch on startup the first time UDOIT is run (probably store this in the database or check if the first row is initialized), and not on future runs. There should also be an option to skip the page and do manual configuration (not recommended).
If you want to get started on this issue, look into Twig and also hopefully get dev mode running. I had some issues with getting Twig templates to hot refresh in development because I was using APP_ENV=prod, but there should be a way to achieve this if you can get APP_ENV=dev working.