commit | 366c6dc6ccba9fd0dc41b43f49910712523eec74 | [log] [tgz] |
---|---|---|
author | Francois Papon <fpapon@apache.org> | Fri Apr 10 08:53:36 2020 +0200 |
committer | Francois Papon <fpapon@apache.org> | Mon Jun 08 09:29:35 2020 +0200 |
tree | e647a777fd7d9bd213845ea1ba9eeff1b81e9d06 | |
parent | 0095653e64d9fc4f26dfdc07d947472fcc2f3ccd [diff] |
Migrate website to Jekyll generator
This project contains the Apache Karaf website.
The concrete repository is on the svn but if you want to contribute, you have to clone the Github repository which is a mirror and provide a pull request with your changes. You can find more informations about how to contribute on the community page of the project (https://karaf.apache.org/community.html).
Clone:
git clone https://github.com/apache/karaf-site.git
You need a machine with Maven to build the website.
Checkout:
http://svn.apache.org/repos/asf/karaf/site/trunk/ karaf-site
Installation of dev environment, follow official instructions:
## Run
To start Jekyll local server, just run:
bundle exec jekyll serve
## Deploy
Build the site for production:
JEKYLL_ENV=production bundle exec jekyll build
Package the war:
mvn clean install
You can test the war with Jetty embedded and visit http://localhost:8080/ :
mvn jetty:run
Deploy on scm
mvn install scm-publish:publish-scm