I have setup devstack on my laptop running windows 10 (using Docker Toolbox) and I want to use it to work on a custom theme. Currently, I can modify the scss files and see the changes just fine but not when I change the template files.
I initially tried to configure comprehensive theming using the lms.env.json files but it didn’t work
I’ve gone through the official documentation before and I’ve used this theme as a starting point. I’ve also set the DEFAULT_SITE_THEME parameter to the theme I want (and the CSS is applied).
Is there anything else specific to devstack I should have a look at?
Set the parameters in /edx/app/edxapp/lms.env.json
Change the ownership of the folder
run make lms-static
But when running make lms-static, I notice the following in the output:
Skipping theme asset compilation: enable theming to process themed assets
When I check the file ownership:
And when I check the lms.env.json all the parameters as expected.
That’s why I started setting the parameters for comprehensive theming in devstack_docker.py. Any idea why the config change is not picked up? Or any idea where I could look to investigate further?
No, I don’t add the lines at the end. These variables are already in the file, all I do is change their value (e.g. point to the right directory and use my real theme name).
And then I run: make lms-restart
Thank you very much @BbrSofiane . I was stuck at this. I don’t know why devstack contributors are ignoring this major problem. Every article out there just ask to edit ‘lms.env.json’ file. But lms.yml file is the main culprit. I’ve wasted so much time in it. Just wanted to say Thank You, you should definitely write a blog post for devstack users.
For anyone having issues overriding a comprehensive theme template file on devstack plus look at this article. I ran into this issue and want others to be aware.