Virtual host, hosts file, downloading and enabling modules and installing Drupal in one line. | ORKJ BLOG
18 days ago by Aetles
So, just wanted to share the little shell script I use for setting up local development sites in a one-liner in the terminal. Be advised that I don't usually write shell scripts, so if you are a pro, and I have made some obvious mistakes, please feel free to give improvements in the comment section. Also, while i have been writing this post, i noticed that Klausi also has a kick ass tutorial and shell script on his blog. Be sure to read that as well, since the article is much more thorough than mine. But since my script is for those even more lazy, I decided to post it anyway.
The idea I had was pretty simple. I constantly have the need to set up a fresh, working copy of drupal in various versions with various modules, i.e for bug testing, prototyping, or just testing a patch on a fresh install. While drush make and installation profiles are both awesome tools for a lot of things, I wanted to install Drupal without making make files and writing .info files, and at the same time generate the virtual host and edit my hosts file. And why not also download and enable the modules i need.
drupal
drush
localdevelopment
The idea I had was pretty simple. I constantly have the need to set up a fresh, working copy of drupal in various versions with various modules, i.e for bug testing, prototyping, or just testing a patch on a fresh install. While drush make and installation profiles are both awesome tools for a lot of things, I wanted to install Drupal without making make files and writing .info files, and at the same time generate the virtual host and edit my hosts file. And why not also download and enable the modules i need.
18 days ago by Aetles
Drush Rebuild: A utility for rebuilding Drupal development environments | DesignHammer Website Design and Development in North Carolina
7 weeks ago by Aetles
Drush Rebuild
I wrote a simple utility, Drush Rebuild, to help me manage the process of rebuilding a local development environment. Drush Rebuild doesn’t make assumptions about your repository structure (Drush Make, entire codebase in repo, etc), nor does it care about extra steps you need to take when configuring a development environment, like disabling caching, adjusting connections with 3rd party services, and so on.
Instead, the utility provides a framework for executing rebuild scripts for a given site, using the power of Drush aliases and the drush php-script command.
drupal
drush
development
I wrote a simple utility, Drush Rebuild, to help me manage the process of rebuilding a local development environment. Drush Rebuild doesn’t make assumptions about your repository structure (Drush Make, entire codebase in repo, etc), nor does it care about extra steps you need to take when configuring a development environment, like disabling caching, adjusting connections with 3rd party services, and so on.
Instead, the utility provides a framework for executing rebuild scripts for a given site, using the power of Drush aliases and the drush php-script command.
7 weeks ago by Aetles
Workflow and tools for developing with Drupal install profiles and Drush Make | DesignHammer Website Design and Development in North Carolina
12 weeks ago by Aetles
A few months ago we completed a Drupal 5 to Drupal 7 migration project for a North Carolina museum website. Actually the Drupal 5 site was more of a Frankenstein site; the previous developers had more or less built their own CMS on top of Drupal. Fortunately, the superb Migrate module made writing migration code for this project a snap.
Getting a workflow together, however, was a bit more of a challenge. We had four people working on the project: two developers, a site builder, and a themer.
Because the project was complex and contained a number of different components, we agreed that development would work best with each developer building aspects of the site on their local machine. That way my work in writing migration code would not interfere with our themer's work, nor would it bother someone working on site building.
The key ingredients to a local development first workflow are git, drush, drush_make (now included in Drush 5), installation profiles, and Features.
In this blog post, we'll review some of the workflow and tools we used for development. We'll use a fictitous "MySite" project for our example.
drupal
drush
git
workflow
Getting a workflow together, however, was a bit more of a challenge. We had four people working on the project: two developers, a site builder, and a themer.
Because the project was complex and contained a number of different components, we agreed that development would work best with each developer building aspects of the site on their local machine. That way my work in writing migration code would not interfere with our themer's work, nor would it bother someone working on site building.
The key ingredients to a local development first workflow are git, drush, drush_make (now included in Drush 5), installation profiles, and Features.
In this blog post, we'll review some of the workflow and tools we used for development. We'll use a fictitous "MySite" project for our example.
12 weeks ago by Aetles
Which Drupal modules are used by: | modulehammer
november 2011 by Aetles
modulehammer shows you which drupal modules a web site uses and generates a makefile so you can build one just like it with a single line. Tell your friends!
drupal
drush
module
november 2011 by Aetles
Drush make and install profiles with Drupal 7 | Wiredcraft
june 2011 by Aetles
Install profiles are core to our development process; everything from the data structure down to the smallest module settings are captured in code, using Features, Context and Strongarm and packaging everything using our beloved Drush make and install profiles. This approach has significantly helped us improve the quality and speed of our developments.
drupal
drush
june 2011 by Aetles
Drush Make Generator - Customized Drupal Installs
january 2011 by Aetles
What is a makefile?
A makefile is a macro for installing Drupal. It contains a list of files that can be fetched using the power of drush, the command line tool for administering Drupal.
Using this generator you can specify different Drupal core distributions, modules, themes, and external libraries like jQuery or WYSIWYG editors.
The end result is a small text file containing the DNA for a specific Drupal setup — YOUR perfect setup!
drupal
drush
A makefile is a macro for installing Drupal. It contains a list of files that can be fetched using the power of drush, the command line tool for administering Drupal.
Using this generator you can specify different Drupal core distributions, modules, themes, and external libraries like jQuery or WYSIWYG editors.
The end result is a small text file containing the DNA for a specific Drupal setup — YOUR perfect setup!
january 2011 by Aetles
Drush 4 : Automated Drupal Site Database Backups made easy
january 2011 by Aetles
Following the release of Drush 4 and picking up on a couple of suggestions made by Moshe Weitzman and Nick Thompson on my previous Drush 3 Automated backup post, it was time for a revised post.
Drush 4 makes it really REALLY easy to backup all your sites, no more bash scripting etc.
drupal
drush
backup
Drush 4 makes it really REALLY easy to backup all your sites, no more bash scripting etc.
january 2011 by Aetles
Typing less in Drush: aliases and autocompletion | Nuvole
november 2010 by Aetles
How to work more efficiently with some Drush-Bash tricks
While Drush is a big time saver, the textbook version of some commands can become lenghty at times:
$ drush pm-enable faceted_search
$ drush features-revert nuvole_news
An out-of-the-box Bash completion for Drush is in the works, and the Drush shell ("drush core-cli") already offers fast access to commands and fancy features. However, if you prefer not to leave your shell and use a stock Drush, here are some tips for a faster Drush experience involving aliases and autocompletion.
drupal
drush
bash
While Drush is a big time saver, the textbook version of some commands can become lenghty at times:
$ drush pm-enable faceted_search
$ drush features-revert nuvole_news
An out-of-the-box Bash completion for Drush is in the works, and the Drush shell ("drush core-cli") already offers fast access to commands and fancy features. However, if you prefer not to leave your shell and use a stock Drush, here are some tips for a faster Drush experience involving aliases and autocompletion.
november 2010 by Aetles
Drush 3.0: More Powerful, Flexible, and Magical | Development Seed
march 2010 by Aetles
Over the last few years Drush has matured significantly and has seen an incredible uptake in usage. It's become indispensable in the day to day workflow of innumerable Drupal users and has been accepted with open arms by contributed module developers who are finding new and wonderful functionality to expose via its clear command line interface.
What not many people realize is that beneath this simple command line API beats the heart of a far more flexible and powerful beast. Drush was written with re-use and scriptability in mind, with this entire concept deeply ingrained in its design, and this is a large part of what gives it its power and flexibility. This will be even more apparent in Drush 3.0.
Below is a rundown of some useful things you'll be able to do with Drush 3.0.
drupal
drush
What not many people realize is that beneath this simple command line API beats the heart of a far more flexible and powerful beast. Drush was written with re-use and scriptability in mind, with this entire concept deeply ingrained in its design, and this is a large part of what gives it its power and flexibility. This will be even more apparent in Drush 3.0.
Below is a rundown of some useful things you'll be able to do with Drush 3.0.
march 2010 by Aetles
Four tips for developing Drupal under Aegir | perlucida
february 2010 by Aetles
I've you've fallen under the spell of mig5 (aka Miguel Jacq) and moved your Drupal deployment workflow to drush, drush_make, Aegir and git you might have been scratching your head over how to carry over your normal development workflow. Here's four tips to help you along.
drupal
aegir
drush
february 2010 by Aetles
Copy this bookmark: