demigod-tools / demigod-tools
Demigod Tools for hosting pantheon sites locally
Installs: 109
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 2
Open Issues: 4
Type:terminus-plugin
Requires (Dev)
- kint-php/kint: @stable
- phpunit/phpunit: ^9
- squizlabs/php_codesniffer: ^3.6
- symfony/yaml: ^5
This package is auto-updated.
Last update: 2024-08-27 20:30:12 UTC
README
A simple plugin for Terminus-CLI version 3.0 or newer that adds a docker compose and environment variables.
Requirements
-
Terminus version 3.0
brew install pantheon-systems/external/terminus
-
direnv and Pipe Viewer/pv
brew install direnv pv mysql-client
Also, be sure to integrate DIRENV into your shell using the information here: https://direnv.net/docs/hook.html
-
Docker version 4.0+ ( docker-compose is now a part of default install )
brew install --cask docker
-
See the Readme on the robo repository
-
Version 7.4+ (8.0 is recommended)
brew install php@8.0
Installation
To install this plugin using Terminus 3:
terminus self:plugin:install demigod-tools/demigod-tools
Configuration
These commands require no configuration
Usage
# clone the site locally with terminus 3
terminus local:clone {site_name}
# Copy the demigod docker templates into place
terminus demigod:copy-templates {SITE_NAME}
# leaving you in the site directory
>$HOME/pantheon-local-copies/{SITE_NAME}
# use robo to launch the containers
robo docker:up
Update
terminus self:plugin:update