Skip to content
Discussion options

You must be logged in to vote

OSMT has a design quirk from the original authors, in that the UI is built in the resources directory of the API module. So when you start the Spring app, the UI files are baked into that jar and available via 8080. If the API is running, the UI is already in that jar. Everything works on the same host / port / server via Spring.

If you want to run the UI independently, this makes it a little messy, beause the OAuth2 redirect needs to come back to the Angular/webpack server on 4200.

To support this local UI development, uncomment the line with OSMT_FRONT_END_PORT in your api/osmt-dev-stack.env file.

Let's be honest about that baked-in UI files design... it's messy when standing up a UI in…

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@yamyamxx
Comment options

@JohnKallies
Comment options

Answer selected by JohnKallies
@yamyamxx
Comment options

@yamyamxx
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants