How do you update ecommerce assets

I have made some changes to a number of ecommerce files including those with extensions .py

Is there a command similar to that within LMS to update assets

i.e. something similar to

paver update_assets lms --settings=production

?

1 Like

There is a Makefile and “make static” command for assets. I never use it directly, but it should be called as part of the devstack scripts as well.

1 Like

Thank you @robrap -
For future reference the commands to execute this are the following

  1. sudo -H -u ecommerce bash
  2. source /edx/app/ecommerce/ecommerce_env
  3. cd /edx/app/ecommerce/ecommerce/
  4. make requirements
  5. make static
1 Like