Skip to content

apache/unomi-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

165 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Apache Unomi website

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages