mitodl / mitxonline

BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

mitxonline

MITx Online

SECTIONS

  1. Initial Setup

Initial Setup

mitxonline follows the same initial setup steps outlined in the common OL web app guide. Run through those steps including the addition of /etc/hosts aliases and the optional step for running the createsuperuser command.

Configure mitxonline and Open edX

See MITx Online integration with edx:

Running, testing, and administering the app

Running, testing, and administering this app follows the same patterns as our other web apps.

*Note: for js tests, run the commands in frontend/public, or run via yarn workspaces foreach run <command> from the root.

See the common OL web app guide.

Certificates

In order to manage the certificates, follow these steps:

Updating python dependencies

Python dependencies are managed with poetry. If you need to add a new dependency, run this command:

docker compose run --rm web poetry add <dependency>

This will update the pyproject.toml and poetry.lock files. Then run docker-compose build web celery to make the change permanent in your docker images. Refer to the poetry documentation for particulars about specifying versions, removing dependencies, etc.