Book Image

Learning Drupal 6 Module Development

Book Image

Learning Drupal 6 Module Development

Overview of this book

Table of Contents (14 chapters)
Learning Drupal 6 Module Development
Credits
About the Author
About the Reviewers
Preface

Packaging the Distribution


We began with a fresh Drupal package. We added our modules and theme into the appropriate places, and then created an installation profile in the profiles/ directory.

The last step is to take that set of files and build a package.

Note

Remove your changes

If you used this distribution directory to test out the installation profile, make sure to get rid of any changes the installation might have made. Specifically, you will need to make sure that the sites/default/settings.php file is removed. (If you are using installation profiles to move your own site, you can keep the settings.php file if you'd like.)

Typically, Drupal is distributed as a tarred and gzipped file. If you have a UNIX-like environment, you can change directories to the location of the drupal-philbios-6.2-1.0/ folder and create the distribution file as follows:


$ tar -zcvf drupal-philbios-6.2-1.0.tgz drupal-philbios-6.2-1.0/

This will create the compressed archive file drupal-philbios-6.2-1.0.tgz...