Skip to content

Instantly share code, notes, and snippets.

View enzolutions's full-sized avatar
:octocat:

enzo - Eduardo Garcia enzolutions

:octocat:
View GitHub Profile
-- Config Start --
drupal generate:module --module="Santa Fe" --machine-name="santa_fe" --module-path="/modules/custom" --description="No, I can't speak French" --core="8.x" --package="France" --module-file --composer --dependencies="user" --no-interaction
drupal module:install santa_fe
drupal config:debug
drupal config:debug system.site
drupal config:export
drupal config:override system.site mail [email protected]
drupal config:debug system.site
<?php
// ** MySQL settings ** //
define( 'DB_NAME', $dbName);
define( 'DB_USER', $dbUser);
define( 'DB_PASSWORD', $dbPass );
define( 'DB_HOST', $dbHost );
define( 'DB_CHARSET', 'utf8' );
define( 'DB_COLLATE', '' );
define('WP_SETUP_CONFIG', true);
if(!defined( 'ABSPATH' ) ) {
define('ABSPATH', $this->appRoot . "/");
}
define('WPINC', 'wp-includes' );
$this->loadLegacyFile('wp-includes/functions.php' );
$this->loadLegacyFile('wp-includes/load.php' );
@enzolutions
enzolutions / readme.md
Last active June 10, 2019 22:20 — forked from jmolivas/readme.md
Automate DrupalConsole release process

Automate DrupalConsole release process

This script run the following tasks on multiple repos from the CLI.

  • Creates a new tag.
  • Push new created tag.
  • Create a new release.
  • Build the phar file. (only for drupal-console-launcher)
  • Upload the phar file (only for drupal-console-launcher)

To execute this proces is required to install