Hi,
is it possible to install Mautic 6 now without NPM / Node or similar in place?
And if not, I’d have to wait for the docker that might be released in a few weeks?
Hi,
is it possible to install Mautic 6 now without NPM / Node or similar in place?
And if not, I’d have to wait for the docker that might be released in a few weeks?
To workaround the missing npm/node on my webhosting i’m using the mautic image that provides me the PHP/node deps to run “composer update --with-dependencies” and then I use rsync to move files to my webhosting.
I use Fedora. Probably should work with docker (s/podman/docker/) too.
# build the "mautic builder image"
# Dockerfile/Containerfile https://gist.github.com/vinzent/747f6fde8b778863f7da6e22e55a130d
cd $dirThatContainsContainerfile
podman build -t mautic-builder .
# run the image with local mautic dir mounted
cd $localMauticDirThatContainsComposerJson
podman run --rm -ti --entrypoint /bin/bash --security-opt label=disable \
--mount type=bind,source=$(pwd),destination=/mautic \
--workdir=/mautic mautic-builder
php bin/console cache:clear
composer update --with-dependencies
Sync:
rsync \
-ruv \
--links \
--checksum \
--perms \
--exclude /config/ \
--exclude /.git/ --exclude /var/ --exclude /docroot/translations/ \
--exclude /docroot/media/images/ \
--exclude /docroot/media/libraries/ckeditor/translations/ \
./ $webHostingServer@$pathToMautic \
--delete --dry-run
Then commands from step 7 on the webhosting: How to update Mautic — Mautic Documentation 0.1 documentation (I need to add “–no-warmup” to “cache:clear”).