This is the repository of the Keptn website, which uses the Hugo static website generator framework. Keptn is a message-driven control-plane for application delivery and automated operations.
Perform the following steps to create a copy of this repository on your local machine:
-
Fork the Keptn repository. A copy of this repository is available in your GitHub account.
-
Clone the forked repository in a local directory.
git clone https://github.com/UserName/keptn.github.ioWhere UserName is your github username. The keptn.github.io directory is available in the local directory.
-
Install the extended version of Hugo in Version 0.51 (see themes/hugo-serif-theme/netlify.toml -
HUGO_VERSION = "0.51").
The themes directory on your local machine (localdirectory/keptn.github.io/themes) is empty because the Hugo serif theme is available at https://github.com/jugglerx/hugo-serif-theme. You need to load the git submodule (see next step) to install this theme. -
Install the git submodule in the themes directory.
git submodule update --init --recursive --force -
Execute the
hugo server -Dcommand from the root folder:hugo server -D -
Enter the following in a browser to view the website:
http://localhost:1313/ # Press Ctrl+C to stop the Hugo server
Start contributing! Note that all edits to the files are updated immediately.
Before you push to production, make sure to run the following command in order to get the correctly built files:
hugo