Open hkirsman opened 4 years ago
My example .lando.yml running PHP 5.6:
name: example
recipe: drupal7
config:
webroot: web
php: '5.6'
services:
codequality:
type: compose
services:
image: hkirsman/code-quality
command: tail -f /dev/null
tooling:
grumphp:
service: codequality
description: Runs GrumPHP commands
cmd: "cd /app && ./vendor/bin/grumphp"
git:
service: codequality
description: Run GIT inside Lando so Code Quality tool would not require host PHP
Install Code Quality:
lando ssh --service=codequality -c "composer require wunderio/code-quality --dev"
Commit code with lando git commit. This would still need some investigation why @aleksijohansson had diffferent git status inside Lando and in host.
The issue with lando git
seems to be a slowness issue with a Windows host:
We still have old projects and wondering how to support these. One way is using Docker as we're already using Lando so my first idea is to create Docker image that has PHP and other dependencies installed, this can then be used in Lando.
This could be also solution for fixing any dependencies that host needs that where discussed in https://github.com/wunderio/drupal-project/issues/88