CMS website for the Berlin Skylarks Baseball & Softball Club https://www.tib-baseball.de/
  • PHP 70.6%
  • HTML 13.6%
  • Vue 7.8%
  • CSS 3.9%
  • Shell 2%
  • Other 2%
Find a file
2026-05-13 21:26:49 +00:00
.ddev dev: bump PHP version to match live server 2026-05-03 08:10:24 +02:00
.github_bck/workflows ci: add local deploy scripts 2026-01-25 20:24:00 +01:00
config fix: replace project name everywhere 2026-04-24 09:06:10 +02:00
craft fix: replace project name everywhere 2026-04-24 09:06:10 +02:00
docs docs: update docs 2026-05-13 23:12:12 +02:00
packages refactor: use BSM ID for frontend ajax requests 2026-05-13 23:24:26 +02:00
patches fix: patch broken BSP cookie consent 2026-04-18 08:33:53 +02:00
public chore: update root .htaccess 2026-02-21 00:13:07 +01:00
tests test: add tests for new fields and query params 2026-05-13 23:03:18 +02:00
.editorconfig chore: upgrade deps 2026-04-18 08:19:31 +02:00
.env.dist docs: update docs 2026-05-13 23:12:12 +02:00
.env.production.dist ci: add local deploy scripts 2026-01-25 20:24:00 +01:00
.env.staging.dist ci: add local deploy scripts 2026-01-25 20:24:00 +01:00
.gitattributes fix: change docs path in .gitattributes 2025-08-10 09:45:12 +02:00
.gitignore chore: remove external pagelist extension 2026-04-01 21:47:27 +02:00
.phpactor.json chore: upgrade composer deps 2026-05-12 19:34:03 +02:00
build_backend.sh ci: make deployment scripts slightly more robust 2026-04-04 14:39:24 +02:00
build_frontend.prod.sh ci: make deployment scripts slightly more robust 2026-04-04 14:39:24 +02:00
composer.json chore: upgrade composer deps 2026-05-12 19:34:03 +02:00
composer.lock chore: upgrade composer deps 2026-05-12 19:34:03 +02:00
composer.patches.json fix: patch broken BSP cookie consent 2026-04-18 08:33:53 +02:00
deploy_production.sh ci: make deployment scripts slightly more robust 2026-04-04 14:39:24 +02:00
deploy_staging.sh ci: make deployment scripts slightly more robust 2026-04-04 14:39:24 +02:00
env.d.ts refactor: move scores app to the project root 2025-10-18 23:59:33 +02:00
fractor.php refactor: use fractor for v14 2026-02-21 10:36:05 +01:00
generate-api-docs.sh docs: add new fields to API docs 2026-05-13 22:47:45 +02:00
index.html refactor: define entrypoints, serve BSM scores app with Vite asset collector 2025-10-19 01:31:29 +02:00
LICENSE.md meta: use AGPL 2026-05-13 23:04:47 +02:00
mago.toml feat: add BSM primary key field to game reports 2026-05-12 20:09:02 +02:00
openapi.yaml docs: add new fields to API docs 2026-05-13 22:47:45 +02:00
package.json fix: replace project name everywhere 2026-04-24 09:06:10 +02:00
patches.lock.json fix: patch broken BSP cookie consent 2026-04-18 08:33:53 +02:00
phpstan.neon feat: include instagram takeout parsing script 2025-12-01 22:38:53 +01:00
phpunit.xml chore: get rid of backend folder 2025-02-10 22:03:59 +01:00
pnpm-lock.yaml chore: bump Vite 2026-04-24 08:58:38 +02:00
pnpm-workspace.yaml chore: update FE deps 2026-04-04 14:30:57 +02:00
README.md docs: update docs 2026-05-13 23:12:12 +02:00
rector.php refactor: use rector for v14 2026-02-21 09:04:09 +01:00
tsconfig.app.json feat: expose MatchMainInfoSection as custom element and use on game report detail page 2025-10-19 17:15:31 +02:00
tsconfig.json refactor: move scores app to the project root 2025-10-18 23:59:33 +02:00
tsconfig.node.json refactor: move scores app to the project root 2025-10-18 23:59:33 +02:00
vite.config.ts refactor: streamline vendor names everywhere 2026-02-28 11:57:35 +01:00

skylarks-cms

CMS website of the Baseball/Softball department of TiB 1848 e.V.

Local Development

To obtain an executable project:

Backend

  • git clone
  • DDEV setup (install, configuration is provided in repository)
  • composer install
  • Insert .env file:
cp .env.dist .env
  • fill out env vars for server and database access
  • pull data:
ddev pull-live all # or: database | files

Frontend

  • based on Bootstrap provided by the Bootstrap Package
  • Bootstrap is compiled from original Sass source with custom variables
  • all project-specific styles use plain CSS
  • Bootstrap JS files are included via TypoScript (unchanged)
  • all other assets are included with a custom Vite setup with the extension Vite Asset Collector
  • during development Vite dev server is used, in production the output is compiled to the _assets folder

Gamecenter section

  • the gamecenter section is a self-contained PWA in Vue.js that is injected via Extbase controller action.
  • it provides a separate entrypoint JS file for use with Vite setup
  • data is fetched via Ajax requests to PSR-15 middleware with dedicated endpoints

The website can then be reached at https://skylarks-cms.ddev.site/.

REST API

  • this website serves as one of several backends for the Skylarks mobile apps
  • a REST API custom-built as PSR-15 middleware serves GET endpoints for the following:
    • players
    • training times
    • game reports
  • => data not covered by BSM
  • API documentation is available in OpenAPI format

Deployment

  • at the moment there is no dedicated CI/CD as self-hosted Forgejo also requires a self-hosted action runner
  • deployment is therefore a simple rsync script that uses composer und PNPM build steps
  • script uses dedicated deployment .env files to read target information

Manual Steps

  • depending on the changes, a database update or clearing the CMS cache might be necessary
  • TODO: automate

Environments

Production and Staging are hosted on a non-root server where the club does not have access to the Apache configuration.

For quirks see docs/Server.md.

Development

https://skylarks-cms.ddev.site/

Staging

https://dev.tib-baseball.de/ (not continuously available)

Production

https://www.tib-baseball.de/

=> Caution: https://tib-baseball.de/ redirects to www. variant

Further documentation

Please consult the folder docs for detailed technical specification and project history.