[dspace-tech] Re: DSpace 7.0 Custom Themes (also posted in developers forum)

252 views
Skip to first unread message

Javier Barcena

unread,
Jun 29, 2022, 9:30:02 AM6/29/22
to dspac...@googlegroups.com
Good morning, I'm working with dspace 7.3, I created a theme based on custom but I can't compile it with yarn run build:prod.
What would be the script to be able to make the changes in my new theme and then see it in dev and in production?

Thanks a lot.

Agustina Martinez

unread,
Jun 29, 2022, 10:32:20 AM6/29/22
to DSpace Technical Support
Hola Javier,

You can try yarn start:dev to start the UI in dev mode.

Agustina

Mark H. Wood

unread,
Jun 30, 2022, 7:22:38 AM6/30/22
to dspac...@googlegroups.com
On Wed, Jun 29, 2022 at 10:27:47AM -0300, Javier Barcena wrote:
> Good morning, I'm working with dspace 7.3, I created a theme based on
> custom but I can't compile it with yarn run build:prod.

What happens when you try? One of the build tools should be telling
you why it failed.

--
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
signature.asc

Javier Barcena

unread,
Jun 30, 2022, 5:15:50 PM6/30/22
to dspac...@googlegroups.com
Dear, make progress.
I tell you, create a new theme based on custom, that is, create a new folder and copy all the content of custom. Add my new theme to the config.prod.yml, commenting out the dspace theme lines. Then I stop the server with pm2 stop dspace-angular.json command and run yarn run build:prod

After compiling I run pm2 start dspace-angular.json

and I manage to access localhost:4000 with the graphical interface of theme/dspace and not with the new theme.

when i run yarn start:dev it gives me error 500 on localhost:4000
Thanks in advance.

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/Yr2HeVjy7BPvbGRs%40IUPUI.Edu.
Reply all
Reply to author
Forward
0 new messages