Development notes

Thoughts, notes and ideas about development

Setup Github Actions for Hugo

This blog-post describes how to set up Github Actions for building and deploying Hugo using Docker container.

The described approach is a starting point for further improvements but it will automate the deployment of new blog posts to a remote server where your blog is hosted.

This blog post doesn’t explain every line of the configuration but describes the used approach and refer to the official Github Action documentation.

Continue reading

How to run Spring Boot and MongoDB in Docker using Docker Compose

Into the previous post How to run Spring Boot and MongoDB in Docker container I described how to start Spring Boot web application and MongoDB in docker using Dockerfiles. Described approach works, but has some drawbacks: we need to remember all commands and repeat them from time to time. Into this tutorial I’ll describe how to build locally a Docker image with Java application and run it together with MongoDB in Docker containers using Docker Compose. Continue reading

How to run Spring Boot and MongoDB in Docker container

Introduction This tutorial describes how to run Spring Boot application and Mongo DB in Docker containers. For demo purpuses we’ll use the following project: spring-mongo-demo. All sources can be found on Github. Our goal is to run our Spring Boot application and MongoDB in its own containers. Some words about Demo project Demo project (spring-boot-demo) is very simple and does the following: it saves the users into Mongo DB. A new added user is displayed in the Users table on the bottom of the page: Requirements We need: Continue reading

How to install Docker on Ubuntu 16.04

Introduction Docker is software containerization platform which makes it easier to create, deploy, and run applications by using containers. It’s the most popular containerization platform in our days. More details about Docker could be found on Docker official web site or Wikipedia. This tutorial describes only how to install Docker on Ubuntu 16.04. Installation process on other distribution looks very similar but can have some differences. How to use Docker will be described into future tutorials. Continue reading

How to install Maven on Windows 10

Maven is build tool primary for Java projects. In this tutorial I will describe how to install maven on Windows 10 operating system. Download and install Java To use maven we need to install Java first. If maven is used for Java projects java jdk should be installed, otherwise jre would be enough. Jdk or Jre could be found here. Download maven After Java (jre or jdk) is installed we need to download Apache Maven from official web site https://maven. Continue reading
Older posts