Open ielis opened 1 year ago
We need the frontend to be built and distributed the same way right? I think this is what we need : https://marco.dev/angular-with-java
I dont think the zip is necessary, just an executable jar/war that will contain the backend, frontend and also an embedded server used to serve both apps
Also I want to make sure the changes in the POM dont effect the current deployment we have currently. It should be another deployment policy, where we have deployment to the cloud and deployment to single executable file.
Yeah, it may be a good idea to follow the article you posted above.
Distribute the REST API as a self-contained ZIP file. The ZIP contains the app, all dependencies, and a launcher script. The launcher needs to be edited to select run profile and the data directory, and as of now serves as an example for running the app from CLI, as opposed to running from IDE.
Build the distribution by running:
After the successful build, the distribution is in
phenopacketlab-restapi/target
.