Skip to main content
8
results
Andrew Fletcher
This page will be a progressive outline of moving those regular run scripts that really need to be automated.  Or triggered by a keyword. These scripts are rsync commands   The initial scripts production environment sudo rsync -aur staging/{project}/config drupal cd drupal sudo chown -R www-data:www-data config cd .. sudo rsync -aur staging/{project}/core drupal cd drupal sudo chown -R www-data:www-data core cd .. sudo rsync -aur staging/{project}/modules drupal cd drupal sudo chown...
Andrew Fletcher
Installing PHP on OSX and it installed PHP 8.2.x.  However, for my...
Andrew Fletcher
Regular commands for brew   Brew update This updates Homebrew itself....
Andrew Fletcher
Working on a decoupled React / Drupal 9 site. Aim: Adjust the output of curated...
Andrew Fletcher
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working through the output for recently viewed pages... the code structure: <?php namespace Drupal\custom\Plugin\GetData\paragraph; use Drupal\custom\Plugin\GetData\ContentBase; use Drupal\custom\Plugin\GetData\ParagraphTrait; use Drupal\node\Entity\Node; /** * Provides Recent view pages data. * * @GetData( * id = "recent_view_pages", * title = @Translation("Recent view pages Data"), * ) */ class...
Andrew Fletcher
In terminal I ran a regular command - compose update.  Something I've...
Andrew Fletcher
Step 1: Install Homebrew Homebrew is the missing package manager for macOS. As...