This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Replace --db-url parameter with your own details. | |
# Drush will prompt you regarding further module dependencies. | |
drush qd site-folder togmine toggl redmine --no-server --db-url=mysql://user:pass@localhost/database --core=drupal-6. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drush qd 400450-disabled-node-types --dev --cache --core=drupal-8.x --package-handler=git_drupalorg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Include Build Kit install profile makefile | |
includes[] = http://drupalcode.org/project/buildkit.git/blob_plain/refs/heads/7.x-2.x:/distro.make | |
; Team Event profile | |
projects[teamevent][type] = profile | |
projects[teamevent][download][type] = git | |
projects[teamevent][download][url] = [email protected]:thislittleduck/teamevent.git | |
projects[teamevent][download][branch] = develop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Include Build Kit distro makefile via URL | |
includes[] = http://drupalcode.org/project/buildkit.git/blob_plain/refs/heads/7.x-2.x:/distro.make | |
; Installation Profile | |
projects[acme][type] = "profile" | |
projects[acme][download][type] = "git" | |
projects[acme][download][url] = "[email protected]:thislittleduck/artpost.git" | |
projects[acme][download][branch] = "master" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Drupal Deployment using Drush | |
============================= | |
Deploying a Drupal site means transporting a codebase to a target host and installing the site using a database. | |
Concepts: | |
- Build: build a codebase and all the dependencies | |
- Deploy: transport the codebase onto a remote machine | |
- Install: Install the software | |
- Migrate (borrowed from Aegir): Migrate an existing database into a new codebase. | |
- Re-configure web server: ? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Wordpress Fabfile, for migrating the database, and deploying w/ git. | |
# For background: "My New & Improved Fabfile for Deploying WordPress" | |
# http://wp.me/p2a3Vy-1b | |
# | |
# This fabfile is specifically-geared for our unique setup, which consists | |
# of 2 servers (local, remote), and 3 sites (local, dev, and prod). Dev and | |
# prod sites both live on the remote server. | |
# | |
# In general, a little bit of the programming happens on a local site, | |
# but the database updates and file uploads (both in Wordpress, and edits |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; This file describes the core project requirements for Rec Post | |
; | |
; Use this file to build a full project including Drupal core (with patches) | |
; and the Rec Post install profile using the following command: | |
; | |
; $ drush make build-recpost.make [directory] | |
api = 2 | |
core = 7.x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; This file describes the core project requirements for Open Futures | |
; | |
; Use this file to build a full project including Drupal core (with patches) | |
; and the Rec Post install profile using the following command: | |
; | |
; $ drush make build-openfutures.make [directory] | |
api = 2 | |
core = 7.x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Welcome text and search form content plugin. | |
*/ | |
$plugin = array( | |
'title' => t('Welcome text search form'), | |
'single' => TRUE, | |
'category' => array(t('Content widgets'), -9), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81172F0D14F7AF09D6E05F31DCDA866D7CD7FC9158734F6CBFBDA124915091C3EFB07E0A2ABE5FF6A5FDA336EA8453AA1C5D509D88374963092FFD73D8A76F1A779378D89E |