Search results

Preparing to Work With Luggage


A beginning web developer works directly on a live site. After bringing down the live site a few times or being embarrassed when unfinished work appears on the live site, the developer learns to use two environments: development and production.

Defining Servers and Websites

A prerequisite to the following is having a .drush directory set up and stored in a repository; see the previous section for details.

Defining a Default Drush Aliases File

The .drush/defaults.aliases.drushrc.php file contains an alias called prod which will be the parent of all the servers we will define. Its contents: