demigod-tools/demigod-tools

Demigod Tools for hosting pantheon sites locally

Installs: 107

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 2

Open Issues: 4

Type:terminus-plugin

dev-master 2023-01-27 17:24 UTC

This package is auto-updated.

Last update: 2024-03-27 19:40:51 UTC


README

Terminus v3.x Compatible

Create a Simple Docker-Compose cluster for local development

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

  • Robo

    See the Readme on the robo repository

  • php

    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