This project contains the Apache Unomi Website. The website is generated using Jekyll 4.4 with Liquid templates.
Can be found in _config YAML file
source: src/main/webapp destination: target/site
Can be found in _data folder This contains some variables used to replace placeholders in the site.
You need either Docker (recommended) or a local Ruby/Jekyll installation to build the website.
Checkout the current project:
git clone https://github.com/apache/unomi-site
Using the bretfisher/jekyll Docker image. No local Ruby or Jekyll installation required.
docker run --rm \ --volume="$PWD:/site" \ bretfisher/jekyll \ build
The generated site will be in the folder target/site.
Serves the site at http://localhost:4000/ with live-reload on source changes:
docker run --rm \ --volume="$PWD:/site" \ -p 4000:4000 \ bretfisher/jekyll-serve
Requires Ruby 2.7+ and Bundler. Install dependencies once, then build:
bundle install bundle exec jekyll build
Or serve locally with live-reload:
bundle exec jekyll serve
To publish the local website to the production location (https://unomi.apache.org/), you have to use: Do not use the clean maven goal to not remove the previous generated site.
mvn install scm-publish:publish-scm -Dusername=YOUR_APACHE_USERNAME -Dpassword=YOUR_APACHE_PASSWORD