Sign in

Sascha Eggenberger
Sascha Eggenberger. Senior User Experience Designer @unic @Drupal Contributor. Drupal Design System, Claro, Gin. #OpenSource https://sascha.is/
The Gin Admin Theme

A radical new design


Requirements

  • lando
  • composer

Install Mautic via composer

composer create-project mautic/core YOURPROJECTNAME ^3 --no-dev

Lando

Config

name: mautic
recipe: lamp
config:
webroot: .
php: '7.3'
database: mysql:5.7
tooling:
mt:
service: appserver
description: Run Mautic commands
cmd: bin/console
proxy:
mailhog:
- mail.mautic.lndo.site
services:
appserver:
type: php
build_as_root:
- docker-php-ext-install sockets
xdebug: true
config:
php: .lando/php/php.ini
database:
type: mysql:5.7
portforward: true
creds:
user: mautic
password: mautic
database: mautic
mailhog:
type: mailhog
portforward: true

Build containers

lando start


alias brew='arch -x86_64 brew'


Requirements

PHP

php -i | grep 'WebP'
WebP Support => enabled

Drupal

  1. ImageAPI Optimize
    https://www.drupal.org/project/imageapi_optimize
    The module has built in support for core Image styles and a…

Show available versions of composer:

brew log composer

Let’s downgrade

composer self-update 1.10.15

To switch back to the 2.x version use

composer self-update --rollback

Prerequisites

Update vagrant

https://www.vagrantup.com/downloads

Let’s update the vagrant plugins

vagrant plugin update
Updated 'vagrant-share' to version '1.1.11'!
Updated 'vagrant-vbguest' to version '0.28.0'!
vagrant up

Traceback (most recent call last):
11: from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `<main>'
10: from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `require_relative'
9: from /usr/local/Homebrew/Library/Homebrew/global.rb:37:in `<top (required)>'
8: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
7: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
6: from /usr/local/Homebrew/Library/Homebrew/os.rb:3:in `<top (required)>'
5: from /usr/local/Homebrew/Library/Homebrew/os.rb:21:in `<module:OS>'
4: from /usr/local/Homebrew/Library/Homebrew/os/mac.rb:58:in `prerelease?'
3: from /usr/local/Homebrew/Library/Homebrew/os/mac.rb:24:in `version'
2: from /usr/local/Homebrew/Library/Homebrew/os/mac.rb:24:in `new'
1: from /usr/local/Homebrew/Library/Homebrew/os/mac/version.rb:26:in `initialize'
/usr/local/Homebrew/Library/Homebrew/version.rb:368:in `initialize': Version value…


Drupal

Install the “EU Cookie Compliance” Module

  1. Make sure you’re using the EU Cookie Compliance module.
  2. Set the module up to your liking.
    This module will provide you with a customisable consent banner

Matomo Analytics


Set process priority

sudo sysctl debug.lowpri_throttle_enabled=0

Reset process priority

sudo sysctl debug.lowpri_throttle_enabled=1

Preparation

Update system software

sudo apt-get update && sudo apt-get upgrade

Install Samba

Sascha Eggenberger

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store