Apache cassandra

Clone this repo:
  1. cb76bc3 added empty div to check if publishing worked by Jon Haddad · 34 hours ago master
  2. 2ac9e7f Adding asf.yaml to publish the new site. by Jon Haddad · 34 hours ago
  3. f151c02 Fixed minor issue with sed, needed to point to content directory instead of publish. by Jon Haddad · 35 hours ago
  4. 79842ba Using the stretch tag instead of latest to pin the version. Latest breaks openjdk-8 install. by Jon Haddad · 36 hours ago
  5. a4aee75 minor fixes to make the site work with self serve, documentation fixes by Jon Haddad · 8 days ago

Apache Cassandra website builder

Building the Apache Cassandra website takes a number of steps. To make things easier we have provided a Docker container which can build the full website in two simple commands and have it ready to commit via git. If you are interested in the process head over to the README in src directory.

Prerequisite

To build and run the Docker container you will need Docker version 2.0.0.0 or greater. If you need a copy of the site code you will need git as well.

Building the site

If you need a copy of the site code run this command:

$ git clone https://github.com/apache/cassandra-website.git
$ cd ./cassandra-website

To build the website run the following commands from within the ./cassandra-website directory (assuming you used the above clone command):

$ docker-compose build cassandra-website
$ docker-compose run cassandra-website

Go make yourself a cup of coffee, this will take a while...

Once building has completed, the site content will be in the ./cassandra-website/content directory ready to be committed.

Previewing the site

If you want to preview the site as you are editing it run this command:

$ docker-compose build cassandra-website
$ docker-compose up cassandra-website-serve

For information about the site layout see the Layout section of README in the src directory.