mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-04-26 08:25:59 +03:00
[PR #10] [MERGED] Add multi-site WordPress hub with environments and dev path management #15
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ServerKit#15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jhd3197/ServerKit/pull/10
Author: @jhd3197
Created: 1/29/2026
Status: ✅ Merged
Merged: 1/29/2026
Merged by: @jhd3197
Base:
main← Head:dev📝 Commits (3)
5113c85Add configurable dev paths and centralize path managemente36c324Add multi-site WordPress management and UI overhaul1e8afb7chore: bump version to 1.2.76 [skip ci]📊 Changes
32 files changed (+970 additions, -414 deletions)
View changed files
📝
.gitignore(+3 -0)📝
VERSION(+1 -1)📝
backend/.env.example(+9 -0)📝
backend/app/api/apps.py(+2 -1)📝
backend/app/api/backups.py(+3 -1)📝
backend/app/api/docker.py(+2 -2)📝
backend/app/api/wordpress.py(+116 -21)➕
backend/app/paths.py(+19 -0)📝
backend/app/services/backup_service.py(+4 -2)📝
backend/app/services/build_service.py(+5 -3)📝
backend/app/services/database_service.py(+3 -1)📝
backend/app/services/db_sync_service.py(+3 -1)📝
backend/app/services/deployment_service.py(+3 -2)📝
backend/app/services/docker_service.py(+45 -24)📝
backend/app/services/environment_docker_service.py(+2 -1)📝
backend/app/services/file_service.py(+4 -1)📝
backend/app/services/git_service.py(+5 -3)📝
backend/app/services/log_service.py(+4 -2)📝
backend/app/services/monitoring_service.py(+3 -2)📝
backend/app/services/notification_service.py(+3 -1)...and 12 more files
📄 Description
Summary
create multiple Docker-based WordPress sites, each with production, staging, and development environments
lifecycle, with service methods that orchestrate Docker template installs and WordPressSite/Application record management
environments and running
docker execwith WP-CLI instead of host-level commandsapp/paths.pyso all services reference consistentdirectories
Changes
backend/app/api/wordpress.py— Added 7 site hub endpoints,_resolve_app()helper so legacy WP-CLI endpoints resolveWordPressSite IDs correctly
backend/app/services/wordpress_service.py— Addedcreate_site,get_sites,get_site,delete_site,create_environment,delete_environment,_wp_cli_dockermethodsbackend/app/paths.py— New centralized path config consumed by all servicesfrontend/src/pages/WordPress.jsx— Rewritten as sites list with card grid, create modal, skeleton loading, emptystate
frontend/src/pages/WordPressDetail.jsx— Database tab shows connection info, environment creation capped at staging +dev, Overview quick action respects env limits
frontend/src/styles/pages/_wordpress.less— Added page header, empty state, install warning, and site card linkstyles for the new hub layout
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.