Skip to content

Instantly share code, notes, and snippets.

@dannevang
Last active May 3, 2024 18:27
Show Gist options
  • Save dannevang/941b949f6f89e331e99ad87f327cfb9f to your computer and use it in GitHub Desktop.
Save dannevang/941b949f6f89e331e99ad87f327cfb9f to your computer and use it in GitHub Desktop.
DDEV modx gitify command

DDEV custom gitify command for modx / modmore gitify

This assumes that:

  1. You are using DDEV & it is running
  2. Gitify 2 is installed with composer inside a /gitify/ in the project root
  3. A config.core.php has been added to the gitify folder that points to the MODX install
  4. The gitify file from this gist has been added to .ddev/commands/web/ folder
#!/bin/bash
## Description: Run gitify commands through DDEV
## Usage: gitify [flags] [args]
## Example: "ddev gitify extract"
## ExecRaw: true
cd /var/www/html/gitify/
./vendor/bin/gitify $@
@dannevang
Copy link
Author

@rfay thx! Updated the gist :)

@rfay
Copy link

rfay commented May 3, 2024

Interesting, you may want to PR this into https://github.com/modmore/gitify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment