We are able to deploy the already developed themes on tutor, by following the documentation.
If we need to develop a new theme, are there ways to test the themes without having to rebuild the openedx image to keep testing our intermediate changes?
or is it better to develop the theme outside of tutor and finally deploy here?
Thanks @regis. Will follow this.
Hi @regis, I’ve been having problems in deploying the
indigo theme in
tutor dev mode.
The theme is only partially applied. i.e, the header and footer look fine but the index-overlay part is not getting reflected. See screenshots below.
I have tried with both running openedx withing docker container as well as bind-mounting a local repo. The results have been the same.
I have run the
tutor dev settheme indigo localhost:8000 localhost:8001 localhost command. The only odd thing I noticed here was the refernce to
the indigo theme comes up perfectly fine on
tutor local installation.
Any suggestions for further troubleshooting?
I encountered a similar issue when upgrading to Juniper. Can you please try to create the following symlink, and see if it fixes the issue:
ln -s "$(tutor config printroot)/env/build/openedx/themes/indigo/lms/templates" "$(tutor config printroot)/env/build/openedx/themes/indigo/lms/static/"
Tried the command and restarted
tutor dev. No luck, unfortunately.
You might have to collect the static assets again.
It worked! Thanks.
tutor dev run lms paver update_assets --settings=tutor.development
It seems that the symlink step was also not required. I tried afresh again and without that step too things worked.
hi, can i run dev and prod on same server without interfering with each other?