From ce49b12dafeba8aa9716b8dbdba1faf9b2798fa5 Mon Sep 17 00:00:00 2001 From: alexandre_gain_mt3s <2+alexandre_gain_mt3s@noreply.git.mt3.solutions> Date: Sat, 21 Nov 2026 11:34:54 +0000 Subject: [PATCH] Add Home --- Home.md | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 Home.md diff --git a/Home.md b/Home.md new file mode 100644 index 0000000..a899630 --- /dev/null +++ b/Home.md @@ -0,0 +1,81 @@ + +
+Package: mt3s/mautic-marketing-program-bundle
+Repository: https://git.mt3.solutions/MT3S/mautic-marketing-program-bundle
+Tested with: Mautic 7.x (Composer-based install), release v1.0.0 (pre-release, needs wider testing)
mautic/recommended-project layout, with docroot/ as web root). ZIP-based installs are not covered.composer, git, node/npm available (Mautic's own post-install hooks use them).git.mt3.solutions.++Run all commands as the web server user (usually
+www-data), not as root. Running as root creates root-owned files and cache that break the Mautic UI and trigger Git "dubious ownership" errors on later updates.
# Open a shell as the web user from the Mautic root directory
+cd /var/www/html
+su -s /bin/bash www-data
+
+The package is not on Packagist, so Composer must be told where to find it:
+composer config repositories.mt3s-marketing-program vcs \
+ https://git.mt3.solutions/MT3S/mautic-marketing-program-bundle.git
+
+composer require mt3s/mautic-marketing-program-bundle:^1.0
+
+Composer installs the plugin into docroot/plugins/MT3SMarketingProgramBundle and runs Mautic's post-install scripts (asset build, cache warmup). This can take a few minutes. The Sass deprecation warnings in the output come from Mautic core and are harmless.
php bin/console mautic:plugins:reload
+
+php bin/console doctrine:migrations:status
+php bin/console doctrine:migrations:migrate --no-interaction
+
+php bin/console cache:clear
+
+Then check that the menu items, permissions (Settings → Roles) and any new objects provided by the plugin are visible.
+composer update mt3s/mautic-marketing-program-bundle
+php bin/console mautic:plugins:reload
+php bin/console doctrine:migrations:migrate --no-interaction
+php bin/console cache:clear
+
+To pin a specific version, require it explicitly, e.g. composer require mt3s/mautic-marketing-program-bundle:1.0.0. Each update triggers Mautic's asset regeneration, so schedule it off-peak.
composer require mt3s/mautic-marketing-program-bundle:<previous-version>
+php bin/console mautic:plugins:reload
+php bin/console cache:clear
+
+If the new version added database migrations, roll them back first (or restore a DB backup). Always back up the database before updating.
+composer audit may report advisories on Mautic's own dependencies. These are unrelated to this plugin and are resolved by upgrading Mautic core.v1.0.0 was released as a pre-release and has only been tested on one production Mautic 7.22 instance. Test on a staging copy before deploying to production.A few optional additions for the wiki, which I can draft if useful: a Docker-specific variant (commands wrapped in docker exec -u www-data), a short "what this plugin does" section, or a compatibility matrix once more Mautic versions are tested.