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
22
results
Andrew Fletcher
•
Lando is a local development environment tool, and it might not directly support the installation of system-wide packages like libGL. However, you can make sure that the required dependencies are included in your application's environment by modifying its configuration.
Here's a general approach to include libGL in your Lando configuration
Create a .lando.yml Configuration File
If you don't have a .lando.yml file in your project, create one at the root of your project. If you...
Andrew Fletcher
•
Lando is a development environment tool that makes it easier to set up and...
Andrew Fletcher
•
Create a Lando setup running Drupal 10.
The command you provided appears to be a...
Andrew Fletcher
•
Updating NPM packages using npm update and I'm seeing the following response
npm...
Andrew Fletcher
•
This is a relatively quick process, beginning with dropping the database...
Andrew Fletcher
•
Import a database
lando db-import doj.sqlEnter the MySQL database
lando mysql -h database
This action will change the prompt as you are now in mysql. The prompt will start with
mysql>Now change to the database that you want to use
use doj;If you want to know what databases exist, then run
show databases;Response
+--------------------+
| Database |
+--------------------+
| information_schema |
| doj |
| mysql |
| performance_schema |
| sys ...
Andrew Fletcher
•
It appears that the plugin or file path is not working how it used to be on...
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
•
This article references some of the common commands via CLI (command-line interface) in running a Cordova app.
Platforms
Platforms are the environment(s) that you want to run your app on. We will add the 'ios' and 'android' platform and ensure they get saved to config.xml and package.json files.
To add a platform use the following command:
cordova platform add {platform}Therefore, to add ios and android run:
cordova platform add ios
cordova platform add androidTo get a list...
Andrew Fletcher
•
How can you find out if the Cordova plugins have been loaded?
Begin by running...
Andrew Fletcher
•
Updating the Cordova plugins... there are two locations to manage the...
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...