OReilly.Drupal.Development.Tricks.for.Designers.2012.eBook-repackb00k.pdf
(
7613 KB
)
Pobierz
Drupal Development Tricks for
Designers
Dani Nordin
Beijing
Cambridge
Farnham
Köln
Sebastopol
Tokyo
•
•
•
•
•
Drupal Development Tricks for Designers
by Dani Nordin
Copyright © 2012 Dani Nordin. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions
are also available for most titles (
http://my.safaribooksonline.com
)
. For more information, contact our
corporate/institutional sales department: (800) 998-9938 or
corporate@oreilly.com
.
Editors:
Julie Steele and Meghan Blanchette
Production Editor:
Melanie Yarbrough
Cover Designer:
Karen Montgomery
Interior Designer:
David Futato
Illustrator:
Robert Romano
Revision History for the First Edition:
2012-03-16 First release
See
http://oreilly.com/catalog/errata.csp?isbn=9781449305536
for release details.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of
O’Reilly Media, Inc.
Drupal Development Tricks for Designers
, the cover image of a springer spaniel, and
related trade dress are trademarks of O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a
trademark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and authors assume
no responsibility for errors or omissions, or for damages resulting from the use of the information con-
tained herein.
ISBN: 978-1-449-30553-6
[LSI]
1331825933
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Part I.
Setting Up a Local Development Environment
1.
Setting Up a Local Development Environment and Installing Drupal . . . . . . . . . . . . . 3
Step 1: Install MAMP
4
Step 2: Setting Up Your Main File Structure
4
Step 3: Setting Up the Drupal files
7
Step 4: Creating the Database
8
Step 5: Install Drupal
11
2.
Working on the Command Line: Some Basic Commands . . . . . . . . . . . . . . . . . . . . . . 15
Commands
16
That Wasn’t So Bad, Was It?
17
3.
Installing Drush . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
19
Installing Drush
19
Another Option: Creating a Symbolic Link to Drush
22
Now the Fun Begins
23
Putting This in Action: Installing Modules
23
4.
Getting Started with Version Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Master Versus Origin
28
Setting Up Git for Your Workflow
28
Step 1: Create an SSH Key
29
Step 2: Install Git
31
Step 3: Set Up Your Git Configuration
32
Step 4: Set Up a GitHub Account
33
Step 5: Create the Remote Repository
33
Step 6: Set Up the Local Repository
34
iii
Plik z chomika:
ms500
Inne pliki z tego folderu:
Wrox.Leveraging.Drupal.Getting.Your.Site.Done.Right.Feb.2009.pdf
(12598 KB)
Packt.Publishing.Drupal.5.Themes.Dec.2007.pdf
(13042 KB)
Packt.Drupal.Creating.Blogs.Forums.Portals.and.Community.Websites.2006.pdf
(6803 KB)
Packt.Drupal.Building.Powerful.Websites.with.Drupal.6.pdf
(10699 KB)
Packt.Drupal.7.Theming.Cookbook.2012.eBook-repackb00k.pdf
(7015 KB)
Inne foldery tego chomika:
APACHE_TOMCAT_JBOSS
ASSEMBLY.LANGUAGE
BSD
C
C.Sharp
Zgłoś jeśli
naruszono regulamin