openedx / wg-devops

Issue repository for the DevOps Working Group
1 stars 2 forks source link

Move artifacts outside of edx-platform in Tutor's openedx image #22

Open kdmccormick opened 1 year ago

kdmccormick commented 1 year ago

Background

This is a sub-task of https://github.com/openedx/wg-developer-experience/issues/146.

The problem: In the openedx image, static assets are collected & compiled into several sub-directories of /openedx/edx-platform/. So, when you mount your own edx-platform, you override all of those static asset folders. Now, tutor dev launch must re-build assets again, which takes a long time and is completely redundant with the assets that you had to download when you downloaded the openedx image. If you forget to do this, then your edx-platform frontend will be broken.

What we want: To generate static assets outside of the /openedx/edx-platform directory so that mounting edx-platform does not overwrite them.

Tasks

Notes

No response

kdmccormick commented 1 year ago

Blocked by https://github.com/openedx/edx-platform/issues/31798