Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Full Stack Development with JHipster

You're reading from   Full Stack Development with JHipster Build full stack applications and microservices with Spring Boot and modern JavaScript frameworks

Arrow left icon
Product type Paperback
Published in Jan 2020
Publisher Packt
ISBN-13 9781838824983
Length 428 pages
Edition 2nd Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Sendil Kumar Nellaiyapen Sendil Kumar Nellaiyapen
Author Profile Icon Sendil Kumar Nellaiyapen
Sendil Kumar Nellaiyapen
Deepu K Sasidharan Deepu K Sasidharan
Author Profile Icon Deepu K Sasidharan
Deepu K Sasidharan
Arrow right icon
View More author details
Toc

Table of Contents (23) Chapters Close

Preface 1. Section 1: Getting Started with the JHipster Platform
2. Introduction to Modern Web Application Development FREE CHAPTER 3. Getting Started with JHipster 4. Section 2: Building and Customizing Web Applications with JHipster
5. Building Monolithic Web Applications with JHipster 6. Entity Modeling with JHipster Domain Language 7. Customization and Further Development 8. Section 3: Continuous Integration and Testing
9. Testing and Continuous Integration 10. Going into Production 11. Section 4: Converting Monoliths to Microservice Architecture
12. Microservice Server-Side Technologies 13. Building Microservices with JHipster 14. Working with Microservices 15. Section 5: Deployment of Microservices
16. Deploying with Docker Compose 17. Deploying to the Cloud with Kubernetes 18. Section 6: React and Vue.js for the Client Side
19. Using React for the Client-Side 20. Using Vue.js for the Client-Side 21. Best Practices with JHipster 22. Other Books You May Enjoy

Packaging the application for local deployment

Now, let's build our application and deploy it locally. This can be done in two ways, either using Docker or by building and executing a WAR file.

Building and deploying using Docker

JHipster uses JIB (https://github.com/GoogleContainerTools/jib) to build Docker images. JIB can build and push Docker images without the need of a Docker daemon and, hence, is an ideal choice for CI environments as well. The JIB plugin is integrated with our Gradle build. The configuration that's used is defined in gradle/docker.gradle and is as follows:

jib {
from {
image = "adoptopenjdk:11-jre-hotspot"
}
to {
image = "store:latest"
}
container...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime