I mean - somewhere - for yarn or webpack - it should be possible to set
something similar to
ng build --base-href=/dist
or
ng build --base-href=/angui
On Monday, October 29, 2018 at 9:36:50 PM UTC+2, Evgeni Dimitrov wrote:
>
> I want to start it in Tomcat.
> 1. I downloaded DSpace-master.zip and dspace-angular-master.zip from github
> 2. I built the dspace part as usual - maven, ant and deployed to
> Tomcat/webapps
> 3. For the angular part I did:
>
> yarn run global
> yarn install
> yarn run build:prod
>
> Before that I changed (perhaps wrongly) in environment.dev.js and
> environment.prod.js
>
> // Angular Universal server settings.
> ui: {
> ssl: false,
> host: 'localhost',
> port: 8080,
> // NOTE: Space is capitalized because 'namespace' is a reserved string
> in TypeScript
> nameSpace: '/dist'
> },
> // The REST API server settings.
> rest: {
> ssl: true,
> host: 'localhost',
> port: 8080,
> // NOTE: Space is capitalized because 'namespace' is a reserved string
> in TypeScript
> nameSpace: '/spring-rest'
> },
>
> 4. I started Tomcat and tried http://localhost:8080/dist
> The message was that a file is not found at localhost:8080/<somefile>
>
> Any suggestions what should be done differently?
>
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
> Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
>
> <#CAJc2bOyvbN0rjPUa1UBiw68YUY_+JbA92UWq741Og5JvbLQQKA@mail.gmail.com_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
--
All messages to this mailing list should adhere to the DuraSpace Code of
Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.