I wrote my first web application (wrote on Spring Boot). I run on localhost – everything works as it should. Now I want to deploy it at my work, so that my laptop acts as a server and all employees of my organization can use this application from their workplace through a browser. Please advise where to start, perhaps links, lessons, documentation. I would be grateful for any information.
The server that comes with Spring Boot out of the box is fine for your needs.
All that is needed:
- Compile the code into one big jar (
mvn clean installif you are using maven)
- Run jar file:
java -jar ...youfilename.jar
More details (as well as other options) can be found here: https://spring.io/blog/2014/03/07/deploying-spring-boot-applications