Apache Unomi website

Clone this repo:
  1. 6543993 Modernize Apache Unomi website: Bootstrap 5, design system, AI positi… (#40) by Serge Huber · 3 weeks ago master
  2. fe9a4b0 Apache Unomi 3.0.0 Release website update by jsinovassin · 4 months ago
  3. 9a31483 Revamp release guide documentation: update version configuration examples, improve clarity on manual/API generation, and refine publishing instructions. by Serge Huber · 5 months ago
  4. e72586c Remove unused `apache-feather-tm-new.svg` file and replace `feather.svg` with a simplified version and update to the newly announced ASF logo. by Serge Huber · 6 months ago
  5. ee0c5d4 Update documentation and tutorial links to reflect Apache Unomi 2.7.x release, including version number changes and updated API documentation URLs. by Serge Huber · 6 months ago

Apache Unomi Website source repository

This project contains the Apache Unomi Website. The website is generated using Jekyll 4.4 with Liquid templates.

Configuration

Jekyll Config

Can be found in _config YAML file

source: src/main/webapp
destination: target/site

Data config

Can be found in _data folder This contains some variables used to replace placeholders in the site.

Build

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

Build with Docker (recommended)

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.

Local development server with Docker

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

Build with local Jekyll

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

Publish

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