Skip to main content
9
results
Andrew Fletcher
An approach to generating a backup server is using a shell script.  A script can define directories to backup, and pass those directories as arguments to the tar utility, which creates an archive file. The archive file can then be moved or copied to another location.   Example Shell Script #!/bin/bash # # Backup script # # NAME: daily-backup.sh # PATH: /mnt/e/bin # DESC: Backup scripts, documents and configuration files to .tar # # What to backup # backup_files="/home...
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...
Andrew Fletcher
Working in Laravel, I needed to loop through an array and know whether the...
Andrew Fletcher
Setting up the mail configuration in October CMS is a quick progress.  Depending on which mail method you use there are up to eight fields to complete: Sender name; Sender email; Mail method: (PHP mail, Sendmail, SMTP, etc...).  I elected to go with SMTP;  SMTP address - such as smtp.your-domain.com or mail.your-domain.com; SMTP port - 587; SMTP encryption protocol - TLS or SSL; Authorization required - boolean response; Username - email account; and Password -...
Andrew Fletcher
Common commands Themes and plugins have similar command lines.  So rather...
Andrew Fletcher
At times while developing in October CMS, you will perform a step that kills the...
Andrew Fletcher
Using October CMS to migrate your site and update the tables with the plugins...