Skip to content

Instantly share code, notes, and snippets.

View ModulesUnraveled's full-sized avatar

Brian Lewis ModulesUnraveled

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ModulesUnraveled on github.
  • I am modulesunraveled (https://keybase.io/modulesunraveled) on keybase.
  • I have a public key whose fingerprint is F642 07CF 46D4 275F C947 EC06 73E5 E5C0 3212 5BD7

To claim this, I am signing this object:

@ModulesUnraveled
ModulesUnraveled / drushrc.php
Last active May 14, 2017 23:34
Useful Drush shell-aliases for Drupal 8 development.
<?php
/**
* These aliases (while working) are NO LONGER MAINTAINED.
*
* Development has moved to a full github repo here:
* https://github.com/ModulesUnraveled/Drush-Shell-Aliases
*
* I'm doing this to make it more easy to include them in your Drupal 8 projects.
drupal site:install standard --site-name "My Awesome Site" --db-user root --db-pass root --db-host localhost --db-name mydatabase --langcode en --site-mail admin@example.com --account-name admin --account-mail admin@example.com --account-pass admin
#0. Update Drush to 7.x
/* Taken from https://github.com/drush-ops/drush */
a. Install Composer Globally
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
b. Make sure Composer's global bin directory is on the system PATH
sed -i '1i export PATH="$HOME/.composer/vendor/bin:$PATH"' $HOME/.bashrc

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post