Artur Moreira 5e14e2df47 fix(deploy): auto-set WordPress public URL and sync wp_options on LXC
Add wordpress-ensure-public-url.sh (exit 2 when .env updated) and
wordpress-sync-options-url.sh to align siteurl/home with HTTPS. Wire
into deploy.sh and webhook-deploy.sh for /opt/news-platform only so
the board does not need manual .env or SQL for BIT-470/BIT-471.

Made-with: Cursor
2026-03-24 19:02:10 +00:00

news-platform

Scalable multi-domain sports news platform — Astro 5 SSR frontend, Fastify bridge, headless WordPress.

Structure

news-platform/
  frontend/       # Astro 5 SSR frontend application
  bridge/         # Fastify bridge (WordPress REST API cache + normalizer)
  wordpress/      # WordPress config, themes, plugins
  config/domains/ # Per-domain configuration files
  docs/           # Architecture and runbooks
  deploy/         # LXC provisioning and deploy scripts

Quick Start

# 1. Start WordPress + MySQL
cd wordpress && docker compose up -d

# 2. Start bridge
cd bridge && npm install && npm run dev

# 3. Start frontend
cd frontend && npm install && npm run dev

Open: http://localhost:4321

Documentation

  • Paperclip project: News Platform
  • Parent issue: BIT-345
  • Gitea remote: https://git.bitreport.pt/BitReport.pt/news-platform.git
S
Description
Scalable multi-domain sports news platform (frontend + WP bridge + SEO + LXC deploy)
Readme
4.6 MiB
0 Stars 32 Watchers 0 Forks
Languages
TypeScript 51.2%
Astro 38.9%
Shell 6.4%
CSS 2.2%
JavaScript 1.3%