This is the branch for the pages.
Link for Website: http://iluwatar.github.io/java-design-patterns/
Due to the fact that we use submodules, the website doesn't automatically update with the changes in the master branch. And for now this update process is manual, here is how you do it:
- checkout the latest version of the gh-pages branch
- open a Git Bash at root level of the repo (ls should show you the index.html file)
- execute the following command to initialize the submodules
git submodule update --init --recursive
- execute the following command to update the submodule
git submodule update --remote
- Check the cmd output line "Submodule path 'pattern': checked out 'COMMIT_HASH'" and validate that the correct COMMIT_HASH is used
- Check if something changed with
git diff
. It should show the folder 'patterns' changed. - Execute
git add .
- Commit and push the change
- The website is automatically updated using Jekyll (see GitHub Pages Basics and Using Jekyll with Pages)