On Thu, Jan 05, 2023 at 09:56:54AM -0500, Sarah Butash wrote: > Hello, > > We will soon be modifying the theme in our DSpace 7.4 environment. In > DSpace 5.11, I could make a theme/UI change, bounce the tomcat server and > the change would be in our live environment. I'm looking for the way to > make changes in this way for 7.4. We work on a Linux server without an > IDE. For DSpace 7.4, I notice that in the Getting Started Demo, the > presenter keeps recompiling to commit UI changes (header, footer, etc). He > mentions running a yarn:start command. What is that compiling? The whole > DSpace instance? the UI?
To change a theme (or any part of the UI), you need to rebuild the front end (dspace-angular), because part of that process compresses and packs up the code into bundles that can be sent to the browser to run there. Then you need to restart the NodeJS instance that serves it out. The back end isn't affected by changes to the UI and can be left running. I *have* seen that at least some UI changes will be taken up without restarting, if I just copy the rebuilt front end 'dist' tree to the place from which it's run, but I don't know when I can trust this so I usually restart it anyway. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/Y7gWnXxLkinWJt9O%40IUPUI.Edu.
signature.asc
Description: PGP signature