/
Tutor: Developing with Course Discovery

Tutor: Developing with Course Discovery

prerequisite: have edx-plaform setup w/ tutor-nightly

Setup Steps

  • To avoid issues with changing the tutor config I recommend stopping all services tutor dev stop

  • Full installation of tutor-nightly should already include the nightly release of the discovery plugin

    • run tutor plugins list to verify

  • Enable the discovery plugin tutor plugins enable discovery

  • Rebuild your tutor config tutor config save

  • Run setup. This will handle database access, migrations, DOT application setup, sync courses etc

    tutor dev init -l discovery
  • Create a superuser to gain access to Django admin

    tutor dev run discovery ./manage.py createsuperuser
  • (needs fix) Disable production site configuration

Running the Service with Local Checkout

  • Make sure any running discovery container is stopped tutor dev stop

  • Install requirements based on local checkout

    tutor dev run --mount=discovery:/path/to/course-discovery:/openedx/discovery discovery bash tutor dev run discovery make requirements
  • Start with --mount option

Running Cache Programs

  • make sure the lms service user has the correct permissions

    • (needs fix) init does not create a user with correct perms

       

  • run cache_programs

Related content

[Archive] Using Tutor for local development
[Archive] Using Tutor for local development
More like this
Tutor: Creating a New IDA Plugin
Tutor: Creating a New IDA Plugin
Read with this
Managing Open edX Tips and Tricks
Managing Open edX Tips and Tricks
More like this
Open edX Development Environment Plans 2U/OCM: Proposal
Open edX Development Environment Plans 2U/OCM: Proposal
Read with this
Tutor troubleshooting notes
Tutor troubleshooting notes
More like this
Open edX REST API Conventions
Open edX REST API Conventions
Read with this