No description
- php 41%
- TypeScript 21.8%
- Shell 19.5%
- Astro 15.4%
- CSS 1.5%
- Other 0.8%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .woodpecker | ||
| astro | ||
| deploy | ||
| docs | ||
| drupal | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
m44
A personal website: astrophotography albums.
astro/ |
the site: static Astro build that reads its content from the CMS at build time |
drupal/ |
the headless CMS (Drupal, JSON:API); configuration in drupal/config/sync |
deploy/ |
Woodpecker CI scripts, Docker/compose files, Bunny upload, DNS runbook, tests |
.woodpecker/ |
staging.yml and prod.yml |
docs/ |
architecture and the content guide |
Environments
- Production: https://m44.be is static files on Bunny (storage zone behind a CDN pull zone). The CMS runs on the VPS at https://cms.m44.be.
- Staging: https://staging.m44.be and https://cms-staging.m44.be, both on the VPS.
A push to main (or staging) rebuilds the CMS and then the site. After adding or editing content in Drupal, press Run pipeline on the branch in Woodpecker: that rebuilds and publishes only the site.
Setup, secrets, Bunny, DNS and the CMS access rules are in deploy/README.md; how the site works is in docs/architecture.md.
Adding content
Albums, photos and videos are created in the Drupal admin; nothing in the repository holds content. docs/content.md describes the content model and how to add the first content.