Book Image

Drupal 7 Mobile Web Development Beginner's Guide

By : Tom Stovall
Book Image

Drupal 7 Mobile Web Development Beginner's Guide

By: Tom Stovall

Overview of this book

<p>How disappointing is it to log on to a website for a product or business you love only to discover the feature you were drawn to doesn’t work on your mobile or tablet? Drupal has brand new features to adapt your existing site into a mobile site that will keep your customers coming back.</p> <p>The Drupal Mobile Web Development Beginner's Guide follows a humble 'Mom &amp; Pop' restaurant website which gets a makeover complete with cutting edge features that play to mobile, tablet and desktop audiences. By following the fun example, you will finish the book having effortlessly adapted your website so that it is accessible and, more importantly, looks good and functions well, on any mobile device.</p> <p>Restaurant websites are notoriously horrible to navigate and our Mom &amp; Pop example is wellintentioned but no exception to this rule. We bring this site out of the early 1990's with cutting edge development practices and a team development workflow. This pizza chain goes mobile with location services, audio, video, charting and mapping worthy of any multi-million dollar site. Each chapter examines the way the site works and shows you how to move the existing content and functionality into reusable features.</p>
Table of Contents (18 chapters)
Drupal 7 Mobile Web Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Pop quiz Answers

Time for action — check in your features module


Open a terminal window, go to your development site root (~/Sites/dpk), and enter the following lines:

> git add sites/all/modules/features/drupallos_homepage/*
> git commit -m 'adding homepage view module'
> cd ~/Sites/uat.drupallospizzakitchen.com
> git pull

What just happened?

The first line of code added the next drupallos_homepage module to the local development version of the repository. The second line committed the changes to the repository locally. The third line changed us over to the "remote" version of the repository. The fourth line pulled all the changes we just checked in to the UAT repository.

You could repeat these commands on a remote server and have a working make file and codebase to set up a UAT server. We won't go into detail with the steps involved in setting up the UAT server because it's exactly the same as setting up our local development, but here they are:

  1. 1. Run the drush make dpk.make command on the...