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:

Installing Luggage From Scratch

Prerequisites

Installation requires that Drush is installed, Git is installed, and you have your database credentials (user name and password) available.

You can check whether git is already installed by typing

git --version

If you get output showing you your git version you are all set. If you get "command not found," git is not installed.

Comprehensive Code Flow Management

Philosophy

We are following the gitflow method where Master is stable and production ready. We did not start out this way but are migrating quickly to adopting this method with some alterations.

Maintenance flow [1].

Contributing to Luggage

Where to Find the Developers

If you would like to contribute to Luggage, please jump into the IRC channel #luggage and introduce yourself. If you are unfamiliar you can read about IRC.

Suitcase (ISU Theme)

Suitcase is a mobile responsive Drupal 7 theme for Iowa State University websites, part of the IASTATE Theme project.

  • Optimized for Luggage, but also works fine for a stock Drupal 7 installation
  • Works beautifully on mobile devices
  • Thoroughly tested to be in compliance with WCAG AA and Section 508 web accessibility standards.

Suitcase is maintained collaboratively and is available on GitHub.

Download and Installation

Suitcase Layout Examples

Screenshot of the Digital Access website

Suitcase supports a variety of page layouts. Possibilities include drag-and-drop arrangement of content into responsive columns and rows, and featuring announcements in full-width hero banners or slideshows.

See more examples of Suitcase layouts

Adding a Submodule with Git

Sometimes you have Drupal in a git repository and you want to use a single submodule from Luggage. For example, you might have a site on which you want only the People feature.

Here is how to add a submodule to your git repository.

Conceptually

In English, you are telling your git repository that contains the code for your website where the git submodule is, so that when you type

git submodule update --init

it will automatically pull in the submodule.

Moving On

First, you add the submodule by hand:

Pages