docs(14.3-03): open the installation guide with the one-command start

- curl -fsSL https://summercms.io/new | bash -s -- demo and the follow-up
  compose, build, migrate and serve commands come first (D-18)
This commit is contained in:
Jakub Zych
2026-10-08 12:02:10 +02:00
parent 0d117a3e57
commit 90582522c7

View File

@@ -6,7 +6,23 @@ order: 20
---
# Installation
SummerCMS is a Go module. An application requires it, lists its plugins in a `summer.yaml` manifest and builds everything into one binary with the `summer` CLI. This page installs the tool, then builds and runs `examples/hello`, the small reference application in the framework repository.
SummerCMS is a Go module. An application requires it, lists its plugins in a `summer.yaml` manifest and builds everything into one binary with the `summer` CLI. This page starts with the one-command path that creates a new application, then walks through the manual path: installing the tool from a framework checkout and building the small reference application that ships with it.
## Create an application with one command
```sh
curl -fsSL https://summercms.io/new | bash -s -- demo
```
The script checks for Go 1.27 and Docker, fetches the framework at its latest release tag into `./summercms`, installs the `summer` CLI and runs `summer new demo`, which writes a ready-to-run application to `sm-demo-app`. Start its database, then build, migrate and serve it:
```sh
cd sm-demo-app
docker compose up -d --wait
summer build
summer migrate
summer serve
```
## Requirements