netsensei / Rum

Deployment tools for drush
Other
16 stars 4 forks source link

RUM README

About

Installation

How to use Rum

Where does Rum store my data?

Known issues

Resources

Roadmap

Thanks

About

Author

Matthias "Netsensei" Vandermaesen
matthias@colada.be
http://www.colada.be

What is Rum?

Rum is a set of Drush scripts that makes a Drupal developers' life easier. It allows you to quickly set up and tear down Drupal websites with as few commands as possible. Rum takes away the pain of tediously managing virtual hosts, databases,...

The aim is to keep your development setup as clean as a whistle and allowing you to set up a new Drupal site quickly.

Why Rum?

Although a myriad of general solutions already exists, the idea behind Rum is to do one thing only: quickly setting up and tearing down Drupal websites.

Rum is also a learning experience. I wanted to learn more about Drush and I wanted to really dive into OOP and design patterns.

WARNING: INSTALL AT YOUR OWN RISK! THIS IS STILL AN UNFINISHED PROJECT. Rum will interact (add/remove) with your installation, so things might break severely.

Features

Dependencies

Installation

On Mac OS X, you'll find your .drush folder at /Users/username/

If Drush doesn't pick up the Rum commands, clear your Drush cache.

    drush cache-clear drush

More information about the drushrc file can be found in the example.drushrc.php file.

How to use Rum

Vanilla install

Repository install

Both commands will create a domain name called hostname.foobar. Rum will talk you through the installation and provide a URL once the process is completed. With a vanilla flavored Rum install, you may need to manually finish the installation in the browser.

Note: when using a Subversion repository you may want to checkout the just the trunk and not the entire repo. For instance, if you have a repository at http://my.subversion-server.com/awesome-repo, you should give the following URL:

    http://my.subversion-server.com/awseom-repo/trunk

This way you'll check any folders in the root of your repository instead of the trunk folder which will not comply with the way Rum expects your repo to be setup.

Repository install example

A complete walkthrough for a (GIT) repository based Drupal 7 installation using Rum is available in the Rum Repo Example README.

Removing an installation

Repository removal example

A complete walkthrough for removing a Rum based installation using Rum is available in the Rum Repo Example README.

Where does Rum store my data?

There is a whole range of ways to configure a L/MAMP stack. Some prefer to put their document roots in /var/www, others link to a different directory. Same goes for managing database dumps, vhost configurations,...

Rum isn't designed to cater in a flexible way with different setups. The primary goal is to go for a few setups and get things up quick and simple.

Rum will create a workspace directory. All your projects will be stored in this directory. Each project resides in its own project directory

Each project directory ideally has these two directories: a web directory (i.e. www) and a database directory (i.e. db) The first will act as a document root to your vhost configuration, the second contains all your database dumps.

For each virtual host, Rum will create a separate file in the vhost configuration directory.

For each project, Rum will create a single database and generate a settings file which will connect it to the project.

It's possible to change the defaults in your .drushrc.php configuration and or pass specific changes as options from the command line. Refer to this command for more information:

    drush rc help

Known issues

Issues are tracked in the GitHub issue tracker for Rum.

Resources

Roadmap

Rum relies on the Drush API. There are few things on the wishlist

Thanks

These people helped tremendously in making Rum better.

Jim Faes
jimfaes@gmail.com

Jurgen "Sjugge" Verhasselt
sjugge@heretiksambrosia.net
http://heretiksambrosia.net

Toon Ketels
http://www.braahm.be/