A simple plugin for Terminus-CLI version 3.0 or newer that adds a docker compose and environment variables.
-
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+
To install this plugin using Terminus 3:
terminus self:plugin:install demigod-tools/demigod-tools
These commands require no configuration
# 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
terminus self:plugin:update