overhangio / tutor-ecommerce

Ecommerce plugin for Tutor
GNU Affero General Public License v3.0
17 stars 50 forks source link

feat: add patch ecommerce-dockerfile-pre-assets #53

Closed igobranco closed 10 months ago

igobranco commented 10 months ago

Add a patch ecommerce-dockerfile-pre-assets that allows to add new commands on ecommerce Dockerfile before running the collect static assets. The name of the patch was inspired by the tutor openedx-dockerfile-pre-assets patch. https://github.com/fccn/tutor/blob/74ef1ae56e9bbd4c6a9441a10bb90576136243be/tutor/templates/build/openedx/Dockerfile/#L193

This new patch allows, for example, to add a custom theme to the ecommerce.

ecommerce-dockerfile-pre-assets: |
    COPY --chown=app:app ./themes/ /openedx/ecommerce/ecommerce/themes/
igobranco commented 10 months ago

That's a great new feature! Can you please add a new entry to the plugin changelog with scriv create?

Done! Nice tool!

regisb commented 10 months ago

Scriv was designed by Ned :)