govCMS / scaffold

6 stars 17 forks source link

Add full lando - with extra ahoy tooling + optionally extra 'ahoy-like' lando tooling #84

Open silverham opened 4 months ago

silverham commented 4 months ago

Allow lando to be used, so we can have multiples of the same project with no conflict (.env has to be committed) and other lando goodies.

See PR for full lando: https://github.com/govCMS/scaffold/pull/82

Or trimmed version (no 'ahoy-like' lando tooling): https://github.com/govCMS/scaffold/pull/83

Feel free to make changes, test etc.

Joshua Stuart Graham - EY

silverham commented 2 months ago

Command to apply to existing project (no extra ahoy-like tooling in lando):

wget https://github.com/govCMS/scaffold/pull/83.diff
patch -r - -p1 < 83.diff
# Skip by pressing 'enter' for `scripts/scaffold-init.sh`
# Manually patch any files with error e.g. `.gitignore`
bash ./scripts/scaffold-post-setup-add-lando.sh
# Manually uncomment SOLR if noted in output
# Manually move added commands from `.ahoy.yml` to `custom/ahoy.yml` as noted by script.