Merge pull request #57 from fpapon/JEKYLL

Migrate website to Jekyll generator
tree: e647a777fd7d9bd213845ea1ba9eeff1b81e9d06
  1. _data/
  2. _includes/
  3. _layouts/
  4. _sass/
  5. assets/
  6. images/
  7. resources/
  8. security/
  9. slick/
  10. WEB-INF/
  11. xmlns/
  12. xsd/
  13. .gitignore
  14. 404.html
  15. _config.yml
  16. archives.html
  17. community.html
  18. documentation.html
  19. download.html
  20. Gemfile
  21. get-started.html
  22. index.html
  23. news.html
  24. pom.xml
  25. privacy.html
  26. projects.html
  27. README.md
  28. stories.html
README.md

Apache Karaf Website

This project contains the Apache Karaf website.

Contribute

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

Build

You need a machine with Maven to build the website.

Checkout:

http://svn.apache.org/repos/asf/karaf/site/trunk/ karaf-site

Development

Installation of dev environment, follow official instructions:

https://jekyllrb.com/docs/

## 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