Michelle Krejci, Greg Pamier, Will Milton, Doug Dobrzynski, Matthew Gilboy
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
<?xml version="1.0"?> | |
<ruleset name="Symfony"> | |
<description>Symfony coding standards code sniffer ruleset.</description> | |
<rule ref="PEAR"> | |
<exclude name="PEAR.Commenting.FunctionComment"/> | |
<exclude name="PEAR.Commenting.FileComment"/> | |
<exclude name="PEAR.Commenting.ClassComment"/> | |
</rule> | |
</ruleset> |
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 | |
require __DIR__ . '/vendor/.composer/autoload.php'; | |
$app = new Silex\Application(); | |
$app['autoloader']->registerNamespace('SilexExtension', __DIR__ . '/vendor/fate/silex-extensions/src'); | |
$app->register(new SilexExtension\MongoDbExtension(), | |
array( | |
'mongodb.class_path' => __DIR__ . 'vendor/doctrine/mongodb/lib', | |
'mongodb.connection' => array( |
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 provision-save '@dev01.airbox.ld' --context_type='site' --uri='dev01.airbox.ld' --platform='@platform_drupal712' --server='@server_master' --db_server='@server_master' --profile='default' --client_name='admin' | |
$ cat ~/.drush/dev01.airbox.ld.alias.drushrc.php | |
<?php | |
$aliases['dev01.airbox.ld'] = array ( | |
'context_type' => 'site', | |
'platform' => '@platform_drupal712', | |
'server' => '@server_master', | |
'db_server' => '@server_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
require 'rake/clean' | |
DRUPAL_ROOT = "#{File.dirname(__FILE__)}/www" | |
PROJECT = "airbox" | |
DRUPAL_URI = "#{PROJECT}.dev" | |
DATABASE_PATH = "archives/current/database.sql" | |
FILES_PATH = "archives/current/files" | |
ARCHIVE_DIR = "/var/drupals/archives/#{PROJECT}" | |
DRUSH_DIR = "#{ENV['HOME']}/.drush" | |
BUILD_DIR = "build" |
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
Vagrant.configure("2") do |config| | |
config.berkshelf.enabled = true | |
config.berkshelf.berksfile_path = "./Berksfile" | |
config.vm.box = "squeeze" | |
config.vm.box_url = "https://s3.amazonaws.com/wa.milton.aws.bucket01/sqeeze.box" | |
config.ssh.max_tries = 40 | |
config.ssh.timeout = 120 |
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
site :opscode | |
cookbook "drupal", git: "https://github.com/promet/drupal_cookbook" | |
cookbook "solo-helper", git: "https://github.com/glennpratt/solo-helper_cookbook.git" |
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
#!/usr/bin/env bash | |
#get the Vagrantfile | |
curl https://gist.github.com/winmillwill/5629071/raw/98351386ee2bf068a585153a7c2c59d0f76d1e59/Vagrantfile -o Vagrantfile | |
#get the Berksfile | |
curl https://gist.github.com/winmillwill/5629140/raw/c53e901d95244562d4d6190feadebb70eb4b4d41/Berksfile -o Berksfile | |
#install the necessary plugins | |
vagrant plugin install vagrant-berkshelf |
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
<VirtualHost> | |
# ... | |
SSLProxyEngine On | |
# Since Drupal has infinite terrible file i/o already, doing a stat before proxying and avoiding it doesn't make me feel bad | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^/sites/.*/files/(.*)$ https://s3.amazonaws.com/my.sweet.bucket.aws.bucket01/files/$1 [P] | |
ProxyPassReverse /sites/mysite.dev/files/ https://s3.amazonaws.com/my.sweet.bucket.aws.bucket01/files/ | |
</VirtualHost> |
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
#! /bin/bash | |
set -ex | |
# Pass all arguments to drush | |
while [ $# -gt 0 ]; do | |
drush_flags="$drush_flags $1" | |
shift | |
done |
OlderNewer