dewired - lemachinarbo/ddev-dewire GitHub Wiki
Installs ProcessWire and sets up GitHub deployment workflows in one step.
Description
A convenience script that combines ProcessWire installation and GitHub deployment setup. This is the main command that orchestrates the entire setup process for automated deployments (and hopefully the only one you'll use).
Usage
ddev dewired [ENV] [--lazy] [--silent]
If you want the fastest experience, always uses the prefix of your environment, to install processwire from zero and setup that environment:
ddev dewired PROD
or
ddev dewired STAGING
Options
Flag | Description |
---|---|
ENV |
Environment name (e.g. PROD , STAGING ) |
--lazy |
Skip confirmations and auto-accept prompts |
--silent |
Suppress output messages |
What It Does
- Environment Validation: Loads and validates environment configuration (uses ENV argument if provided).
- ProcessWire Installation: Runs
dw-install
with appropriate flags. - GitHub Deployment Setup: Runs
dw-deploy
in lazy mode for automated workflows, using the selected environment.
Requirements
- Bash 4+ (recommended for full compatibility)
- GitHub CLI (
gh
) installed and authenticated - Access to the target GitHub repository
- A properly configured
.env
file