commit | a6ccf6e2eb3bf0d98bb8684e520afd37dd894872 | [log] [tgz] |
---|---|---|
author | Jon Haddad <jon@jonhaddad.com> | Wed Dec 04 11:38:56 2019 -0800 |
committer | Jon Haddad <jon@jonhaddad.com> | Wed Dec 04 11:38:56 2019 -0800 |
tree | eea87a2f24051f6b4d630e6e7535e930886874f0 | |
parent | 5ab635c0d80fa12ab3b1d12029d6fcdbd2c0d7ec [diff] |
Rebuilt website. Fixed issue in 5ab635c0d80fa12ab3b1d12029d6fcdbd2c0d7ec which required manually patching the generated source.
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.
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.
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.
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.