F.LUX WEBSITES FOR MAC INSTALL
The experience is basically the same as local development, (except that you won't need to install Docker.) You can run hugo server remotely in this way any changes to the local clone are synchronized to the cluster. Okteto CLI is a light-weight client-side tool that replaces Docker with a remote cluster. Download the Okteto CLI for Windows, Mac, or Linux. This works the same as local development above, but with the Okteto CLI you do not need to run a Linux machine or virtual machine on your local development environment.įirst, make sure you are permitted to deploy pods on any local or remote Kubernetes cluster. Remote Development (kubernetes / okteto CLI) If this doesn't work, the image may be stale. This depends on the Docker image fluxcd/website:hugo-support which should be kept updated when the website's build-time dependencies have changed this image contains everything needed to run the docs locally. On subsequent runs, running make docker-serve instead will skip building the theme. The docker-preview target builds the theme, which takes a while and doesn't need to be repeated unless you are making changes to the theme. Markdown files updated in content/ should trigger a browser refresh as they are saved. Visit where any changes will be visible from inside of the running container. Web Server is available at //localhost:1313/ (bind address 0.0.0.0) Once those tools are installed, fetch the assets necessary to run the site: Make sure to install the "extended" variant of Hugo with support for the Hugo Pipes feature and to check the netlify.toml configuration file for which version of Hugo you should install. In order to run the Flux site locally, you need to install:
F.LUX WEBSITES FOR MAC HOW TO
Check out for the syntax definition and how to test if things work. /static/_redirects defines redirects on.content/en/docs but pulled in through in make gen-content as well. Flux CLI docs ( cmd) and components docs: under.We currently do this for Markdown files from the /fluxcd/community and /fluxcd/.github repositories.
external-sources/ defines how files from other repositories are pulled in. content/en/blog contains all blog posts - make sure you update the front-matter for posts to show up correctly. The main landing page of this website can be modified in config.toml.Īlmost all of the content lives in the content/en/docs directory. Documentation issues and pull requests should be made against those repos. Note: The sources for some of Flux's documentation are housed in other repositories within. This repo houses the assets used to build the Flux project's landing page at.