How to Delete Git Commit History

Introduction In Git , you can remove or change the past changes in your repository by deleting the commit history. This might be useful if you want to get rid of private info, eliminate unimportant commits, or start a fresh project without showing what happened before. Remember that changing the past can make it harder for others to understand how things got here and work together on the project. There are different ways to do this, like using git reset, git rebase, or git filter-branch....

August 30, 2023 · 5 min · Emmy Steven

Java Docker Best Practices

We all want to avoid the it was working perfectly well on my system scenario. Hence, there is a need to dockerise our Java web application. This tutorial gives us the best practices to consider when containerising our Java applications. Below are the best practices to keep in mind when containerising or dockerising Java web applications: Specify Explicit and Predictable Docker Base Image Tags Install Only What You Need in Production in the Java Container Image Find and Fix Security Vulnerabilities in Your Java Docker Image Use Multi-Stage Builds Don’t Run Java Apps as Root Properly Handle Events to Safely Terminate a Java Application Gracefully Tear Down Java Applications Use ....

August 20, 2023 · 7 min · Emmy Steven

How To Make Maven Faster

What is Maven Maven, often dubbed as the “swiss army knife” of Java development, is a robust and highly popular build automation and project management tool. It plays a pivotal role in simplifying the often intricate and multifaceted process of building, managing, and delivering Java-based software projects. Maven is renowned for its ability to bring order and efficiency to the entire software development lifecycle, from project initialization to build automation, testing, reporting, and the seamless management of project dependencies....

August 10, 2023 · 9 min · Emmy Steven

Spring Boot in 20 Minutes

Chapter 1: Spring Boot Overview This guide will teach you how to use the most popular Java framework, Spring Boot. This guide will show you how to build a web app using Spring Boot from start to finish. You will also learn how to install Java Software Development Kit (SDK) and set up Spring Boot on your computer. Also, we’ll show you how to connect a MariaDB database with Spring Boot and deploy a full-blown web application to the server in this Spring Boot guide....

July 30, 2023 · 21 min · Emmy Steven

How To Dockerize Spring Boot

Introduction In today’s fast-paced development landscape, deploying applications efficiently and ensuring scalability are paramount. Dockerizing Spring Boot   external link applications has emerged as a popular solution to address these challenges. This blog post will explore the benefits of dockerizing Spring Boot apps and provide a step-by-step guide to containerize your projects. What is Docker? Docker is an open-source platform that allows you to develop, ship, and run applications inside containers....

July 20, 2023 · 11 min · Emmy Steven