editorial-system

Operations Guide

Prerequisites

Initial Setup

  1. Copy configuration: Duplicate includes/config.example.php to includes/config.php and fill in MySQL, admin login, OpenAI, Firecrawl, webhook, and WordPress settings.
  2. Toggle availability: The ONLINE constant (defined near the top of config.php) can disable every API endpoint when set to false—handy for maintenance windows.
  3. Launch server: From project root, run php -S 127.0.0.1:8000 (or configure your preferred web server) and browse to the host. The SPA will prompt for Basic Auth credentials and store them in localStorage.
  4. Seed users: The UI is empty until you create at least one user via the “ユーザー” page; this populates the author dropdown used when logging new sources.

Database Management

Running Background Jobs

Scheduled WordPress Sync (api/cron.php)

Full Backfill (api/wp-backfill.php)

Background Check Worker (api/background-check.php)

External Service Notes

Operational Tips