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
28
results
Andrew Fletcher
•
Currently, I have a situation where I have two repositories. The first is where I've held the code since the beginning. The second has come on board recently and is the client repo. However, rather than shut the original down, I want to keep both running with the same code. How do I synchronise them so that they contain the same thing?
Configure a remote that points to the upstream repository in Git to sync changes you make in a fork with the original repository....
Andrew Fletcher
•
Working from the bases that .DS_Store has not been added to your git repository,...
Andrew Fletcher
•
Adding git tag to your actions.
The regular process that I work to is
git add...
Andrew Fletcher
•
If you edit a Drupal contrib module, the next time the module is updated those...
Andrew Fletcher
•
As a web developer, you will most likely need to run local copies of a bunch of...
Andrew Fletcher
•
On your local OSX environment using Terminal or iTerm you can create a MySQL database, database user, and password, as well as, assign all privileges to the user for the database.
Knowing your credentials, before beginning you will need to know the following:
user: {user}
password: {password}
database: {database}
For my local environment, I'll be using these credentials
user
root
password
root
database
safs
Walkthrough the steps to build your database:
The initial step is to...
Andrew Fletcher
•
This article assumes that you are running Docker and Lando already. Don't...
Andrew Fletcher
•
While working with lando, I had the following error
ERROR: for safs_appserver_1...
Andrew Fletcher
•
I installed Lando 3.6.2 and Laravel 9. When I visit the web page, I...
Andrew Fletcher
•
Working in Lando and you have hit the situation where you need to view the log...
Andrew Fletcher
•
Changes in your .env file
Connecting your app to the new environment you need to make some tweaks in your .env file.
Change your DB_HOST to database. If you use MySQL or MariaDB Lando will create a database named laravel for you with a user laravel and the password laravel. The database section in your .env should look like this:
DB_CONNECTION=mysql
DB_HOST=database
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=laravel
DB_PASSWORD=laravelIf you use Postgres the settings should look like...
Andrew Fletcher
•
Changing git push from passphrase? There are several ways to tackle this...
Andrew Fletcher
•
Building a contact list using SwiftUI has many challenges.
One challenge is...