Moving the publish directory to content as per INFRA-19218
836 files changed
tree: a0a0686a71e8d0f6fe10a16a38f5614ef73c985b
  1. content/
  2. src/
  3. .gitignore
  4. doap.rdf
  5. docker-compose.yml
  6. docker-entrypoint-jekyll-serve.sh
  7. docker-entrypoint.sh
  8. Dockerfile
  9. LICENSE.txt
  10. README.md
README.md

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 checkout commands):

$ 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/publish 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.