My problem is about how to enable programs in Tutor. I installed discovery plugin and enable it. I added couple sample programs in discovery admin panel but they didn’t shows up in LMS. Also in the LMS admin panel I added this {"COURSE_CATALOG_API_URL":"http://discovery:8000"} catalog url settings and set “Programs api configs” enabled but I didn’t understand what is development process of programs after this?
I believe the cache_programs command actually needs to be run regularly ; it is scheduled with a cronjob on this native sandbox installation, and we’ve had to do something similar for the refresh_course_metadata command so that discovery can see when you create new courses.
I’m not sure what the preferred way to configure and run cronjobs in Tutor is though? From this post, it looks like you can schedule a cronjob on your host system to run tutor local exec <run management command>.
@jill do you think we should recommend to users of the discovery plugin to run this command regularly? There is no mechanism in place in tutor to run cronjobs. Instead, we could create a Docker service that would run tutor local run lms ./manage.py lms cache_programs && sleep 3600. Do you think we should do that?