Note: This build process is new for the 1.0 Beta4 release of Open Atrium
Open Atrium uses an install profile and a Drush make based build system. Complete and ready to install downloads are offered at http://openatrium.com, but it's also possible to build Open Atrium yourself. You may want to do this to participate in Open Atrium development, or to simply check out the bleeding edge.
Developers, or other users, who wish to build Open Atrium themselves will need to have Drush, Drush make, CVS and Git installed. It's highly recommended to use the most recent version of Drush, version 3.x.
To emulate how drupal.org builds profiles into full Drupal installs you need to use a stub makefile;
core = "6.x" projects = "drupal" projects[openatrium][type] = "profile" projects[openatrium][download][type] = "cvs" projects[openatrium][download][module] = "contributions/profiles/openatrium" projects[openatrium][download][revision] = "HEAD"
Paste this code into a file called
atrium_stub.make and run:
`drush make atrium_stub.make openatrium`
This will assemble a full Open Atrium build into the directory
Getting working copies
A make file can specify that a project is retrieved in two main ways; a direct download, or from a version control system. If the make file specifies that some projects should be retrieved from a version control system, by default the code will be exported, not checked out. In order to have Drush check out the code and you can use the
--working-copy flag. Like:
drush make --working-copy atrium_stub.make openatrium
Rebuilding your profile
As changes are committed to various repositories, and new releases made available it can be useful to completely rebuild the contents of
profiles/openatrium/themes. To make this simple there is a small shell script included in the Open Atrium profile that uses Drush make to re-fetch all the components of the install profile. To use this
drush must be in your
$PATH and you'll want to remove the modules and themes directories completely. (Be sure you don't have any customizations there that you want to keep!) Make
rebuild.sh executable using
chmod, run it, and you'll see the Drush start doing it's work.
Note: it's possible, though highly unlikely, that your webserver is configured to run shell scripts. If you suspect this is the case you'll want to remove