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

Java interview questions and answers

Home Page:https://andrei-punko.github.io/java-interview-faq-n-answers/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Java interview questions and answers

pages-build-deployment

Java interview FAQ Donate

Prerequisites

  • Maven 3
  • JDK 17

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 submodule

git submodule init
git submodule update

Build generator

cd github-pages-content-generator
mvn clean install

Update generator code and rebuild it

cd github-pages-content-generator
pull origin master
mvn clean install

Update instructions

  • Modify content.txt to change content
  • Modify template.html (only) if you need to change view template
  • Run generate.bat. It will delete and regenerate index.html
  • Use index.html locally or:
  • Commit changes to the 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

About

Java interview questions and answers

https://andrei-punko.github.io/java-interview-faq-n-answers/

License:MIT License


Languages

Language:HTML 100.0%Language:Batchfile 0.0%