Can Open Edx Enterprise run with Tutor?

@venkat.330

Where did you add “new_org.localhost”? I don’t see nginx.conf, but can see env/apps/nginx/extra.conf
Where are you now seeing the catalogue?

I am struggling with getting my LMS (localhost) to communicate with the discover app.

Could you advice if we have configured in similar ways or if there are anythings I’ve missed?

I am running tutor V3.12.5, which is running inside a venv.

Steps taken:

  1. Enabled discover and ecommerce
    $ tutor plugins enable discovery ecommerce
    $ tutor local quickstart

  2. Created super users for both discover and ecommerce
    $ tutor local run ecommerce ./manage.py createsuperuser
    $ tutor local run discovery ./manage.py createsuperuser

  3. Checked applications were running by navigating to http://discovery.localhost and http://ecommerce.localhost. Both look to be running with access to the admin panels after login in

  4. Add new catalogue in discovery containing all courses - http://discovery.localhost/admin/catalogs/catalog/add/
    Name: myCat
    Query: GET /api/v1/search/courses

  5. Add new enterprise customer - http://localhost/admin/enterprise/enterprisecustomer/add/
    No catalogues listed in the drop down selector.
    Clicking ‘Create a new catalogue’ attempts to go to http://discovery:8000/admin/catalogs/catalog/add/, but returns ‘server not found’
    Expected it to point at discover.localhost

  6. Add Catalog integration - http://localhost/admin/catalog/catalogintegration/add/
    Set Internal API URL: http://discovery.localhost/api/v1
    Prompt states DEPRECATED: Use the setting COURSE_CATALOG_API_URL

  7. Check if catalogue is visible at http://localhost/admin/enterprise/enterprisecustomer/add/
    Catalogues are now visible but ‘View catalog …’ and Create a new catalog’ still point to ‘discover:8000’

  8. Set COURSE_CATALOG_API_URL = "http://discovery:8000" as suggested [here] (Lms <-> discovery communication). First tried this by setting in cms.env.json and lms.env.json, but then
    Ran
    $ tutor config printvalue COURSE_CATALOG_API_URL
    and got http://discovery.localhost.
    Ran
    $ tutor config save --set COURSE_CATALOG_API_URL=“http://discovery:8000
    $ tutor config printvalue COURSE_CATALOG_API_URL
    and got http://discovery:8000

    http://discover:8000 still responds with ‘Server not found’

1 Like