Compare commits

..

7 Commits

Author SHA1 Message Date
adc2fae5af change the hug of trees 2026-03-25 16:17:18 +01:00
30431491e2 added more text 2026-03-25 16:12:56 +01:00
6f31b28e8c test change 2026-03-25 16:08:25 +01:00
KirbyCMS Deploy
dba516f484 Replace MindBoost with Hocus Fokus in README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 15:00:47 +00:00
KirbyCMS Deploy
3fc57831eb Replace README with developer contribution guide
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 14:59:47 +00:00
KirbyCMS Deploy
97da8f7079 Fix deploy webhook: use putenv to set HOME before git pull
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 14:51:12 +00:00
KirbyCMS Deploy
3fe23d469f Fix deploy webhook: set HOME for git pull in shell_exec
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 14:50:48 +00:00
4 changed files with 82 additions and 46 deletions

115
README.md
View File

@@ -1,44 +1,79 @@
<img src="http://getkirby.com/assets/images/github/starterkit.jpg" width="300">
# hocusfokus-web
**Kirby: the CMS that adapts to any project, loved by developers and editors alike.**
The Starterkit is a full-blown Kirby installation with a lot of example content, blueprints, templates and more.
It is ideal for new users to explore many of Kirby's options and get to know the Panel.
You can learn more about Kirby at [getkirby.com](https://getkirby.com).
<img src="http://getkirby.com/assets/images/github/starterkit-screen.png" />
### Try Kirby for free
You can try Kirby and the Starterkit on your local machine or on a test server as long as you need to make sure it is the right tool for your next project. … and when youre convinced, [buy your license](https://getkirby.com/buy).
The Starterkit is a demo of basic Kirby features. It's not recommended to be used "as is" in production. Please, follow our documentation closely for more features and guides on how to build secure, high-quality websites with Kirby.
While Kirby as the CMS software itself requires you to purchase a license, we consider the files primarily connected to this Starterkit (assets, templates, snippets...) free to use under the MIT license. Feel free to start building your own project with them.
### Get going
Read our guide on [how to get started with Kirby](https://getkirby.com/docs/guide/quickstart).
You can download the latest version of the Starterkit from https://download.getkirby.com/.
If you are familiar with Git, you can clone Kirby's Starterkit repository from Github.
git clone https://github.com/getkirby/starterkit.git
## What's Kirby?
- **[getkirby.com](https://getkirby.com)** Get to know the CMS.
- **[Try it](https://getkirby.com/try)** Take a test ride with our online demo. Or download one of our kits to get started.
- **[Documentation](https://getkirby.com/docs/guide)** Read the official guide, reference and cookbook recipes.
- **[Issues](https://github.com/getkirby/kirby/issues)** Report bugs and other problems.
- **[Feedback](https://feedback.getkirby.com)** You have an idea for Kirby? Share it.
- **[Forum](https://forum.getkirby.com)** Whenever you get stuck, don't hesitate to reach out for questions and support.
- **[Discord](https://chat.getkirby.com)** Hang out and meet the community.
- **[YouTube](https://youtube.com/kirbyCasts)** - Watch the latest video tutorials visually with Bastian.
- **[Mastodon](https://mastodon.social/@getkirby)** Spread the word.
- **[Instagram](https://www.instagram.com/getkirby/)** Share your creations: #madewithkirby.
Die Website von **hocusfokus** basiert auf [Kirby CMS](https://getkirby.com) und wird auf `https://web.mindboost.team` gehostet.
---
© 2009 Bastian Allgeier
[getkirby.com](https://getkirby.com) · [License agreement](https://getkirby.com/license)
## Für Entwickler: So funktioniert der Workflow
### Voraussetzungen
- Git-Zugang zum Repo: `https://gitea.mindboost.team/hocusfokus/hocusfokus-web.git`
- Schreibrechte auf dem `main`-Branch
### Repository klonen
```bash
git clone https://gitea.mindboost.team/hocusfokus/hocusfokus-web.git
cd hocusfokus-web
```
### Lokale Entwicklung
Kirby läuft ohne Datenbank alle Inhalte liegen als Dateien im `content/`-Ordner. Für eine lokale Vorschau reicht ein einfacher PHP-Server:
```bash
php -S localhost:8000
```
Danach ist die Seite unter `http://localhost:8000` und das Panel unter `http://localhost:8000/panel` erreichbar.
> **Hinweis:** Die Datei `site/config/config.php` enthält die URL-Konfiguration für die Produktionsumgebung. Lokal kann es sein, dass Kirby eine Warnung wegen der URL zeigt das ist normal und beeinflusst die Entwicklung nicht.
### Änderungen deployen
Das Deployment läuft vollautomatisch über einen Gitea-Webhook:
1. Änderungen committen und auf `main` pushen
2. Gitea löst automatisch einen Webhook aus
3. Der Server führt `git pull` im Produktionsverzeichnis aus
4. Die Änderungen sind sofort live auf `https://web.mindboost.team`
```bash
git add .
git commit -m "Beschreibung der Änderung"
git push origin main
```
> Pushes auf andere Branches lösen **kein** Deployment aus. Nur `main` wird automatisch deployed.
### Projektstruktur
```
├── assets/ # CSS, JS, Bilder (Theme-Dateien)
├── content/ # Alle Seiteninhalte als Textdateien
├── kirby/ # Kirby CMS Core (nicht bearbeiten)
├── media/ # Automatisch generierter Cache (nicht committen)
├── site/
│ ├── blueprints/ # Panel-Konfiguration (Felder, Layouts)
│ ├── config/ # Kirby-Konfiguration
│ ├── plugins/ # Erweiterungen
│ ├── snippets/ # Wiederverwendbare Template-Teile
│ └── templates/ # Seitentemplates
└── index.php # Einstiegspunkt
```
### Was gehört ins Repo, was nicht?
| Gehört rein | Gehört **nicht** rein |
|---|---|
| `content/` | `media/` (automatisch generiert) |
| `assets/` | `site/accounts/` (Benutzerkonten) |
| `site/` | `site/sessions/` (Sitzungsdaten) |
| `kirby/` | `site/cache/` (Cache) |
Die `.gitignore` ist bereits entsprechend konfiguriert.
---
Fragen zum Setup? Wende dich an das Hocus Fokus-Team.

View File

@@ -10,11 +10,11 @@ Headline:
----
Subheadline: Our friends with leaves
Subheadline: Our friends with leaves are trees
----
Text: <p>Hug them if you like. They might not appreciate it though.</p><p>Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vestibulum id ligula porta felis euismod semper. Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod.</p>
Text: <p>I like to hug them. They might not appreciate it though.</p><p>Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vestibulum id ligula porta felis euismod semper. Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod.</p>
----

View File

@@ -2,11 +2,11 @@ Title: Home
----
Headline: Welcome to Kirby's Starterkit
Headline: Welcome to Hocus Fokus Fidibus
----
Subheadline: A fully documented example project
Subheadline: Gespräche weg hex hex.
----

View File

@@ -40,8 +40,9 @@ if ($ref !== 'refs/heads/main') {
die('Ignored: not main branch.');
}
// Run git pull
$output = shell_exec('cd /var/www/html && git pull 2>&1');
// Run git pull (HOME must be set explicitly since PHP's shell_exec doesn't inherit it)
putenv('HOME=/var/www');
$output = shell_exec('git -C /var/www/html pull 2>&1');
http_response_code(200);
header('Content-Type: text/plain');