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 | |
* Routing-script for the built-in PHP web server. | |
* | |
* The built-in webserver should only be used for development and testing as it | |
* has a number of limitations that makes running Drupal on it highly insecure | |
* and somewhat limited. | |
* | |
* In particular be aware that: |
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
# Creates a quick drupal installation with pre-configured defaults. | |
# Syntax: | |
# qd [drupalversion:7|8] [projectname] [modulelist] [giturl] | |
qd() { | |
if [ "$#" -gt 4 ]; then | |
echo -ne "ERROR: Too many arguments specified. Make sure there are no spaces in the list of contrib modules.\n" | |
fi | |
if [ "$#" -lt 2 ] || [ "$#" -gt 4 ]; then | |
echo -ne "Creates a quick Drupal installation with pre-configured defaults.\n" | |
echo -ne "Syntax:\n" |
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
# Clone this script using: | |
# cd ~ | |
# git clone [email protected]:787a1175b114bd76be45.git .vagrant_aliases | |
# | |
# Add the following to your ~/.profile file: | |
# if [ -f ~/.vagrant_aliases/.vagrant_aliases ]; then | |
# source ~/.vagrant_aliases/.vagrant_aliases | |
# fi | |
# Custom Vagrant Aliases/Commands |