From 3d87919f8f09c8e01cc0bb1de411d6ad10b82f48 Mon Sep 17 00:00:00 2001 From: "Kristof, Fooman" Date: Tue, 9 Jul 2019 22:27:45 +1200 Subject: [PATCH] Ensure folders exist to allow installation `bin/magento setup:install` checks for writeability of a few folders. Syncing just the .htaccess file allows them to be created. --- environments/magento2.mutagen.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/environments/magento2.mutagen.toml b/environments/magento2.mutagen.toml index 258f9bae..1953a8fe 100644 --- a/environments/magento2.mutagen.toml +++ b/environments/magento2.mutagen.toml @@ -22,8 +22,10 @@ default = [ # Magento files "/generated", "/pub/media", - "/pub/static", - "/var", + "/pub/static/**", + "!/pub/static/.htaccess", + "/var/**", + "!/var/.htaccess", "node_modules", ]