Search

Preparing to Work With Luggage

Environments

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:

Determining Your Version of Luggage

As of Luggage 3.2.2 we've made it easier to query Luggage for its version number. There are two ways to get the version number: on the site status page, and via drush.

Version from status page

Go to admin/reports/status and find the version in the list of status reports

Luggage Version shown on Drupal site status page