mechero / full-reactive-stack

Full Reactive Stack with Spring Boot (WebFlux), MongoDB and Angular
https://thepracticaldeveloper.com/2020/06/16/full-reactive-stack-1-intro/
328 stars 156 forks source link

How to know the pages in advance #1

Closed mechero closed 4 years ago

bogdan19adrian commented 5 years ago

Can you tell me please if this is deployable as a single jar/war ?

mechero commented 5 years ago

@bogdan19adrian Next time, please open a separate question on the Issues section on GitHub, your question is unrelated to this pull request. The answer is that this repository is not deployable as a single war/jar, but you could make some modifications to make it ready for that. Just build the Angular project and put the static files in the backend project to be served by the embedded tomcat. You'll also need to change the URL references.

bogdan19adrian commented 5 years ago

hello, sorry here in romania was like 1 am and i was frustrated. Documentation of spring states that war is not an option when using webflux but spring initializr lets you choose precisely that option which is confusig Now i moved towards building a jar and running with java -jar option but i have some issues when serving statics. IllegalArgument exception or smth. I would have loved to start this properly since i am out of pets projects

cheers bogdan

On Fri, Jul 26, 2019 at 9:42 AM Moisés Macero notifications@github.com wrote:

@bogdan19adrian https://github.com/bogdan19adrian Next time, please open a separate question on the Issues section on GitHub, your question is unrelated to this pull request. The answer is that this repository is not deployable as a single war/jar, but you could make some modifications to make it ready for that. Just build the Angular project and put the static files in the backend project to be served by the embedded tomcat. You'll also need to change the URL references.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mechero/full-reactive-stack/pull/1?email_source=notifications&email_token=ACLDEEX7U4K5KNP3433WHNDQBKMGJA5CNFSM4EMSS5R2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD23VCSI#issuecomment-515330377, or mute the thread https://github.com/notifications/unsubscribe-auth/ACLDEEVDORXRU6UP5CG4DX3QBKMGJANCNFSM4EMSS5RQ .