Better doc for ReadTheDocs
This commit is contained in:
@@ -1,36 +1,70 @@
|
||||
# Home
|
||||
<div class="md-center">
|
||||
<img src="statics/logo.png" />
|
||||
</div>
|
||||
|
||||
Welcome to the documentation of Katenary.
|
||||
# Welcome to Katenary documentation
|
||||
|
||||
## What is Katenary?
|
||||
!!! Edit "Thanks to..."
|
||||
**Katenary is built with:**
|
||||
<br /><a href="https://go.dev" target="_blank">:fontawesome-brands-golang:{ .go-logo }</a>
|
||||
|
||||
Katenary is a project that aims to help you to transform "compose" files (`docker-compose.yml`, `podman-compose.yml`...) to a complete and production ready [Helm Chart](https://helm.sh).
|
||||
**Documentation is built with:**
|
||||
<br />
|
||||
<a href="https://www.mkdocs.org/" target="_blank">MkDocs</a> using <a href="https://squidfunk.github.io/mkdocs-material/" target="_blank">Material for MkDocs</a> theme template.
|
||||
|
||||
> Special thanks to all contributors, testors, and of course packages and tools authors.
|
||||
|
||||
Katenary is a tool made to help you to transform "compose" files (`docker-compose.yml`, `podman-compose.yml`...) to a complete and production ready [Helm Chart](https://helm.sh).
|
||||
|
||||
You'll be able to deploy your project in [:material-kubernetes: Kubernetes](https://kubernetes.io) in a few seconds (of course, more if you need to tweak with labels).
|
||||
|
||||
It uses your current file and optionnaly labels to configure the result.
|
||||
|
||||
It's an opensource project, under MIT licence, partially developped at [Smile](https://smile.eu). The project source code is hosted on the [Katenary GitHub Repository](https://github.com/metal3d/katenary).
|
||||
It's an opensource project, under MIT licence, partially developped at [Smile](https://smile.eu). The project source code is hosted on the [:fontawesome-brands-github: Katenary GitHub Repository](https://github.com/metal3d/katenary).
|
||||
|
||||
|
||||
## Install Katenary
|
||||
|
||||
Katenary is developped in [Go](https://go.dev). The binary is statically linked, so you can only download it from the [release page](https://github.com/metal3d/katenary/releases) of the project in GutHub.
|
||||
Katenary is developped in :fontawesome-brands-golang:{ .gopher } [Go](https://go.dev). The binary is statically linked, so you can simply download it from the [release page](https://github.com/metal3d/katenary/releases) of the project in GutHub.
|
||||
|
||||
You need to select the right binary for your operating system and architecture, and copy the binary in a directory that is in your `PATH`.
|
||||
|
||||
If you are a Linux user, you can use the "one line installation command" which will download the binary in you `$HOME/.local/bin` directory if it exists.
|
||||
If you are a Linux user, you can use the "one line installation command" which will download the binary in your `$HOME/.local/bin` directory if it exists.
|
||||
|
||||
```bash
|
||||
sh <(curl -sSL https://raw.githubusercontent.com/metal3d/katenary/master/install.sh)
|
||||
```
|
||||
|
||||
You can also build and install it yourself, the giver Makefile provides a `build` command that uses `podman` or `docker` to build the binary. You don't need to install Go compiler so.
|
||||
!!! Info "Upgrading is integrated to the `katenary` command"
|
||||
Katenary propose a `upgrade` subcommand to update the current binary to the latest stable release.
|
||||
|
||||
Of course, you need to install Katenary once :smile:
|
||||
|
||||
|
||||
!!! Note "You prefer to compile it, no need to install Go"
|
||||
You can also build and install it yourself, the provided Makefile has got a `build` command that uses `podman` or `docker` to build the binary.
|
||||
|
||||
So, you don't need to install Go compiler :+1:.
|
||||
|
||||
But, note that the "master" branch is not the "stable" version. It's preferable to switch to a tag, or to use the releases.
|
||||
|
||||
```bash
|
||||
git clone https://github.com/metal3d/katenary.git
|
||||
cd katenary
|
||||
make build
|
||||
make install
|
||||
```
|
||||
|
||||
Then, copy `./katenary` binary to you `PATH` (`~/.local/bin` or `/usr/local/bin` with `sudo`) and type `katenary version` and / or `katenary help`
|
||||
`make install` copies `./katenary` binary to your user binary path (`~/.local/bin`)
|
||||
|
||||
You can install it in other directory by changing the `PREFIX` variable. E.g.:
|
||||
|
||||
```bash
|
||||
make build
|
||||
sudo make install PREFIX=/usr/local
|
||||
```
|
||||
|
||||
Check if everything is OK using `katenary version` and / or `katenary help`
|
||||
|
||||
## Install completion
|
||||
|
||||
|
Reference in New Issue
Block a user