developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
15
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
•
Looking to install Solr on your server? Not sure if it worth the...
Andrew Fletcher
•
Installing Varnish to increase the speed of the page load.
Install varnish using...
Andrew Fletcher
•
In terminal I ran a regular command - compose update. Something I've completed thousands of times previously. However, this time I received the following response:
env: php: No such file or directory
What gives?
Well, thinking through what had recently changed... The only major change was upgrading OSX to Monterey. So a little of Googling and found yep this could be the cause. PHP has been removed from MacOS since v12 (Monterey), so you first need to...
Andrew Fletcher
•
Step 1: Install Homebrew
Homebrew is the missing package manager for macOS.
As...
Andrew Fletcher
•
To add ejabberd and run MYSQL to the server I needed to update the server...
Andrew Fletcher
•
The magically descriptive error 401 Forbidden "message": "Access...
Andrew Fletcher
•
If you are like me you probably have searched for clues to and found little......
Andrew Fletcher
•
Installing Laravel on an Apache server was going to be a no fuss process said no developer! Research done. Documentation looks good and easy to follow. Time to load Laravel.
The set-up
The install notes on Laravel are easy to follow. Beginning with checking that your server is able to install Laravel.
Using shell commands check that your server has the minimum requirements. To do this run the command php -m
-bash-4.1# php -m
[PHP...
Andrew Fletcher
•
Building a contact list using SwiftUI has many challenges.
One challenge is...
Andrew Fletcher
•
In Drupal 8.x hiding the subject line is a quick task.
In the admin area of your...
Andrew Fletcher
•
You have been working hard on getting comments being added (POST) through REST...
Andrew Fletcher
•
For others that have spent countless hours getting this to work and are...