tree: 3931c1d47dec7a3bbb1ba585cbf2f7c3e20721a2 [path history] [tgz]
  1. _data/
  2. _distributedlog_team/
  3. _includes/
  4. _layouts/
  5. _mentors/
  6. _posts/
  7. _sass/
  8. blog/
  9. community/
  10. css/
  11. docs/
  12. fonts/
  13. images/
  14. js/
  15. project/
  16. scripts/
  17. styles/
  18. .gitignore
  19. _config-apache.yml
  20. _config-local.yml
  21. _config-production.yml
  22. _config-staging.yml
  23. _config.yml
  24. build.sh
  25. coming-soon.md
  26. contribute.md
  27. faq.md
  28. feed.xml
  29. Gemfile
  30. Gemfile.lock
  31. index.md
  32. Rakefile
  33. README.md
website/README.md

Apache DistributedLog website

This is the website for Apache DistributedLog.

About this site

The DistributedLog website is built using Jekyll. Additionally, for additional formatting capabilities, this website uses Twitter Bootstrap.

This website is hosted at:

http://bookkeeper.apache.org/distributedlog

It is important to note there are two sets of “website code” with respect to the Apache DistributedLog website.

  1. The Jekyll code which contains all of the resources for building, testing, styling, and tinkering with the website. Think of it as a website SDK.
  2. The static website content which contains the content for the website. This is the static content is what is actually hosted on the Apache DistributedLog website.

Development setup

First, make sure you have Ruby installed. The minimal ruby version is 2.0.0.

Before working with the Jekyll code, you can use Ruby's Bundler Gem to install all the dependencies for building this website:

gem install bundler
bundle install

If you are on a Mac, you may need to install Ruby Gems.

And use pip to install docutils and pygments required for building the documentation:

pip install docutils pygments

Build website together with documentation

You can run the build.sh at the root folder of website to build a local site.

$ build.sh local

You can also build with the production settings. It will generate the content that is actually hosted in distributedlog website.

$ build.sh production

Once built, it will be placed in the folder content inside of the root directory. This directory will include images, HTML, CSS and so on. In a typical Jekyll install this content will live in _site - it has been changed for Apache DistributedLog website to work with the ASF Incubator publishing system.

Run the server locally

You can run bundle exec jekyll serve locally to serve the generated static content to verify if the website works as expected.

$ bundle exec jekyll serve