koalapress/euca 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

koalapress/euca

Composer 安装命令:

composer require koalapress/euca

包简介

KoalaPress CLI to manage Docker/WordPress setup

README 文档

README

EUCA is a lightweight command-line tool to manage a Docker-based WordPress development environment – optimized for KoalaPress themes.

🌿 Streamlined setup with Docker, WP-CLI, Composer, and Acorn.

📦 Installation

Via Composer

composer require --dev koalapress/euca

You can now run the CLI like this:

./vendor/bin/euca

Optional: make it available globally

composer global require koalapress/euca
euca

Requirements

  • Docker + Docker Compose v2+
  • Composer
  • WP-CLI installed inside your container
  • Optionally: xdg-open, open, or start for browser support

🚀 Usage

./vendor/bin/euca <command> [--no-open]

Available Commands

Command Description
setup Full WordPress setup 🌱
install Install WordPress core
theme Activate the KoalaPress theme
plugins Install Composer plugins inside the theme
cleanup Delete unused plugins and themes
lang Install and activate WordPress language
permalinks Set permalink structure to /postname/
up Start Docker containers
down Stop Docker containers
restart Restart Docker containers
wp Run WP-CLI commands inside the container
composer Run Composer commands inside the theme folder
acorn Run Acorn commands inside the theme
bin Run theme-local vendor/bin/... commands

⚙️ Configuration

All settings are controlled via a .env file in your project root:

PROJECT_NAME=koala
SERVICE=wordpress
DOMAIN=koala.localhost
ADMIN_USER=admin
ADMIN_PASS=admin
ADMIN_EMAIL=admin@example.com
SITE_TITLE="My KoalaPress Site"
LOCALE=de_DE

If no .env is found, one will be auto-generated or copied from .env.example.

🔐 Admin Login

After setup, the login URL (/wp-admin) is automatically opened.

  • Username: admin (or from .env)
  • Password: admin (or from .env)

📁 Recommended Project Structure

my-project/
├── docker-compose.yml
├── .env
├── build/
│   (with its own composer.json)

🧪 Example

# Run full setup
./vendor/bin/euca setup

# Activate theme
./vendor/bin/euca theme

# Stop containers
./vendor/bin/euca down

📝 License

MIT © KoalaPress

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: Shell

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-07-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固