DrupalDork.com was shut down on September 18, 2013. This is just a snapshot of the site as it appeared then.

Local Settings Template

A couple months ago, I wrote about our strategy of using local settings files here at Jackson River.

I was setting up a new development site on my machine the other day, and realized that I've been consulting that blog post a couple times a week to copy over bits of code that were missing from various dev sites. It seemed like a good idea to move it into a gist:

And, since I use TextExpander as much as I can, I also made a snippet to grab the contents of this gist.

In order for this to work, make sure you set the Content dropdown above the snippet content to use Shell Script, like this:

TextExpander Shell Script selection

Now when I type "llocalsett", I get a mostly-ready local.settings.php to start with!

Add new comment