Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.