Skip to content

andrei-punko/java-interview-faq-n-answers

Folders and files

NameName
Last commit message
Last commit date
Mar 25, 2025
Apr 25, 2024
Mar 25, 2025
Mar 25, 2025
Mar 2, 2021
Oct 4, 2022
Mar 2, 2021
Dec 14, 2024
Sep 8, 2022
Apr 14, 2022
Oct 4, 2022
Mar 25, 2025

Repository files navigation

Java interview frequently asked questions and answers

pages-build-deployment

Java interview FAQ Donate

Prerequisites

  • JDK 21 (to build content-generator)

Content generator and its preparation

Generator to create a site by content from text file using templates added as Git submodule to a current project

Init and download Git submodule

git submodule init
git submodule update

Build content generator

cd github-pages-content-generator
./mvnw clean install

Update generator code and rebuild it

cd github-pages-content-generator
pull origin master
./mvnw clean install

Instructions how to add content & deploy it to GitHub

  • To change content - modify content.txt

  • To change view template - modify template.html

  • To generate new index.html by content.txt - run generate.bat. It will delete and recreate index.html file

    Now you could use index.html locally or:

  • Commit changes to the GH repository to deploy them into the Web. One minute after, when GH workflow finished, updated site will be available by original link

Instead of generate & commit steps, you could use generate-n-commit-n-push.bat script