Adjust installation docs, point to running.md

This commit is contained in:
Francis Lavoie 2023-03-21 14:30:25 -04:00
parent c3f405931b
commit 09ddea0df2
No known key found for this signature in database
GPG key ID: 0F66EE1687682239
2 changed files with 32 additions and 21 deletions

View file

@ -6,7 +6,7 @@ title: "Build from source"
Requirements: Requirements:
- [Go](https://golang.org/doc/install) 1.18 or newer - [Go](https://golang.org/doc/install) 1.19 or newer
Clone the repository: Clone the repository:

View file

@ -23,11 +23,11 @@ Our [official packages](https://github.com/caddyserver/dist) come only with the
**Community-maintained:** **Community-maintained:**
- [Homebrew](#homebrew) - [Homebrew (Mac)](#homebrew)
- [Chocolatey (Windows)](#chocolatey)
- [Scoop (Windows)](#scoop)
- [Webi](#webi) - [Webi](#webi)
- [Chocolatey](#chocolatey)
- [Ansible](#ansible) - [Ansible](#ansible)
- [Scoop](#scoop)
- [Termux](#termux) - [Termux](#termux)
- [Nix/Nixpkgs/NixOS](#nixnixpkgsnixos) - [Nix/Nixpkgs/NixOS](#nixnixpkgsnixos)
@ -53,6 +53,8 @@ You can upgrade static binaries by replacing them with newer versions and restar
Installing this package automatically starts and runs Caddy as a [systemd service](/docs/running#linux-service) named `caddy`. It also comes with an optional `caddy-api` service which is _not_ enabled by default, but should be used if you primarily configure Caddy via its API instead of config files. Installing this package automatically starts and runs Caddy as a [systemd service](/docs/running#linux-service) named `caddy`. It also comes with an optional `caddy-api` service which is _not_ enabled by default, but should be used if you primarily configure Caddy via its API instead of config files.
After installing, please read the [service usage instructions](/docs/running#using-the-service).
**Stable releases:** **Stable releases:**
<pre><code class="cmd"><span class="bash">sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https</span> <pre><code class="cmd"><span class="bash">sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https</span>
@ -76,7 +78,7 @@ If you wish to use the packaged support files (systemd services, bash completion
## Fedora, RedHat, CentOS ## Fedora, RedHat, CentOS
This package comes with both of Caddy's [systemd service](/docs/running#linux-service) unit files, but does not enable them by default. This package comes with both of Caddy's [systemd service](/docs/running#linux-service) unit files, but does not enable them by default. Using the service is recommended. If you do, please read the [service usage instructions](/docs/running#using-the-service).
Fedora or RHEL/CentOS 8: Fedora or RHEL/CentOS 8:
@ -108,6 +110,9 @@ Those modifications include a custom start/stop behavior and additional sandboxi
[**View on Docker Hub**](https://hub.docker.com/_/caddy) [**View on Docker Hub**](https://hub.docker.com/_/caddy)
See our [recommended Docker Compose configuration](/docs/running#docker-compose) and usage instructions.
## Homebrew ## Homebrew
@ -118,6 +123,27 @@ _Note: This is a community-maintained installation method._
[**View the Homebrew formula**](https://formulae.brew.sh/formula/caddy) [**View the Homebrew formula**](https://formulae.brew.sh/formula/caddy)
## Chocolatey (Windows)
_Note: This is a community-maintained installation method._
<pre><code class="cmd">choco install caddy</code></pre>
[**View the Chocolatey package**](https://chocolatey.org/packages/caddy)
## Scoop (Windows)
_Note: This is a community-maintained installation method._
<pre><code class="cmd">scoop install caddy</code></pre>
[**View the Scoop manifest**](https://github.com/ScoopInstaller/Main/blob/master/bucket/caddy.json)
## Webi ## Webi
_Note: This is a community-maintained installation method._ _Note: This is a community-maintained installation method._
@ -135,14 +161,6 @@ You may need to adjust the Windows firewall rules to allow non-localhost incomin
[**View on Webi**](https://webinstall.dev/caddy) [**View on Webi**](https://webinstall.dev/caddy)
## Chocolatey
_Note: This is a community-maintained installation method._
<pre><code class="cmd">choco install caddy</code></pre>
[**View the Chocolatey package**](https://chocolatey.org/packages/caddy)
## Ansible ## Ansible
@ -153,14 +171,6 @@ _Note: This is a community-maintained installation method._
[**View the Ansible role repository**](https://github.com/nvjacobo/caddy) [**View the Ansible role repository**](https://github.com/nvjacobo/caddy)
## Scoop
_Note: This is a community-maintained installation method._
<pre><code class="cmd">scoop install caddy</code></pre>
[**View the Scoop manifest**](https://github.com/ScoopInstaller/Main/blob/master/bucket/caddy.json)
## Termux ## Termux
@ -171,6 +181,7 @@ _Note: This is a community-maintained installation method._
[**View the Termux build.sh file**](https://github.com/termux/termux-packages/blob/master/packages/caddy/build.sh) [**View the Termux build.sh file**](https://github.com/termux/termux-packages/blob/master/packages/caddy/build.sh)
## Nix/Nixpkgs/NixOS ## Nix/Nixpkgs/NixOS
_Note: This is a community-maintained installation method._ _Note: This is a community-maintained installation method._