- Install the pre-requisites:
- Composer
- BitBar PHP
composer global require steveedson/bitbar-php
- Acquia CLI
Pre-requisites: | |
* Install composer. https://getcomposer.org/download/ | |
* Start a MySQL database. You will need to know the connection credentials. | |
# Create a local Drupal project | |
composer create-project --no-interaction acquia/drupal-recommended-project | |
cd drupal-recommended-project | |
# At this point, you have a composer.json. Print contents: | |
cat composer.json |
version: 1.3.0 | |
services: | |
- mysql | |
- php: | |
version: 7.4 | |
events: | |
build: | |
steps: | |
- log: |
composer global require steveedson/bitbar-php
git clone [my site] | |
lando init \ | |
--source cwd \ | |
--recipe drupal9 \ | |
--webroot docroot \ | |
--name my-new-app | |
lando start | |
lando ssh | |
curl -OL https://github.com/acquia/cli/releases/latest/download/acli.phar && chmod +x acli.phar && mv acli.phar /usr/local/bin/acli | |
acli auth:login |
cd my-project | |
lando init \ | |
--source cwd \ | |
--recipe drupal9 \ | |
--webroot docroot \ | |
--name my-new-app | |
git add .lando.yml && git commit -m "Adding Lando configuration." | |
lando start | |
lando info | |
// Ensure that your local settings.php file's database credentials match |
composer create-project --no-install drupal/recommended-project:^9.0.0-beta2 . | |
sed -i'.original' 's/web\//docroot\//g' composer.json && rm composer.json.original | |
composer require drush/drush:^10.2 drupal/mysql56 --no-update | |
composer update |
<?php | |
namespace Drupal\gg_migration\Plugin\migrate\source; | |
use Drupal\migrate\Plugin\migrate\source\SqlBase; | |
use Drupal\migrate\Row; | |
/** | |
* Source plugin for user accounts. | |
* |
From 8fc6248eaa2e401ca88f3d1357b99dda80ba08b1 Mon Sep 17 00:00:00 2001 | |
From: Matthew Grasmick <[email protected]> | |
Date: Fri, 29 Sep 2017 16:16:05 -0400 | |
Subject: [PATCH] Updating theme. | |
--- | |
docroot/themes/custom/canarycog/.eslintignore | 3 ++- | |
docroot/themes/custom/canarycog/gulp-tasks/lint-js.js | 14 +++++++------- | |
docroot/themes/custom/canarycog/gulpfile.js | 3 ++- | |
docroot/themes/custom/canarycog/package.json | 5 +++++ |
This tutorial covers common use cases for configuration splits as a strategy for configuration management in Drupal 8.
Specifically it covers:
{ | |
"license": "proprietary", | |
"type": "project", | |
"repositories": { | |
"drupal": { | |
"type": "composer", | |
"url": "https://packages.drupal.org/8" | |
} | |
}, |