Skip to main content
240
results
Andrew Fletcher
Build the PHP base image with apache-buster using the Dockerfile.base Since JN blocks some libraries update and pull, follow the following steps to build the base image locally. Run the following command to build the base PHP image: Make sure you are in the project root directory before running the command and its a fresh window after changing the proxy docker build -f Dockerfile.base -t apachebuster8 .Errors running docker command If you experience errors when attempting to run the command...
Andrew Fletcher
This is a relatively quick process, beginning with dropping the database...
Andrew Fletcher
Tailwind CSS is a highly customisable framework that delivers developers the...
Andrew Fletcher
Currently, we are upgrading a site from Drupal 7 to Drupal 9.  During this...
Andrew Fletcher
Import a database lando db-import doj.sqlEnter the MySQL database lando mysql...
Andrew Fletcher
Find by file name To perform a find command in terminal use find / -name php.ini -type f find / -name {filename} {type parameters}Note there are many parameters in the commands, so I'll cover a couple regular expressions here.  Such as,  -name matches the string being searched and is case sensitive -iname matches the string being searched and is case insensitive -type f means to find a file with the name being searched.  In this instance php.ini -type d find a...
Andrew Fletcher
I had generated a backup of key directories on the server - see Create a...
Andrew Fletcher
An approach to generating a backup server is using a shell script.  A...
Andrew Fletcher
Explain public, private, protected functions and variables inside a class in...
Andrew Fletcher
Assuming there is a new field requiring a change on a content type. How do you...
Andrew Fletcher
Replicate Replicate the bug in your local environment. Check Check - do you have the latest version of the contrib module?  In case the issue has already been identified and resolved. A quick check of the issue list for the contrib module. Nothing. Document notes Read through the log files to understand where the bug is located.  Devel module is a must for a backend dev to help resolve issues like this one.  Ensure Symfony var-dumper or Kint is running.  Data is gold here and...
Andrew Fletcher
2 or 3 approaches to build a homepage or landing page through Drupal Please...
Andrew Fletcher
Drupal cache is one of the major subsystems that deliver Drupal's flexibility...
Andrew Fletcher
Creating a bash script Bash scripts are files containing code that tell your...
Andrew Fletcher
My goal was to get the base URL and compare it with the URL of the link....