13

Have a look at the Drush make project: http://drupal.org/project/drush_make There is also a companion website at: http://drushmake.me/ This website allows you to select the modules you want to package with Drupal, and produces a Drush-ready makefile. There are other varieties of this functionality out there, so I advise experimenting and testing with ...


13

You're going to want to understand the relationship between Organic Groups, Spaces, Context, Features and possibility the Persistent URL and Strongarm modules. Aside from Organic Groups, they were all created by the same developer who started Open Atrium. Here is one very basic run-through about how Open Atrium works. Here is a description of how each of ...


8

You should try it with drush. drush dl commerce_kickstart drush updatedb -y (I have not tried it for commerce kickstart; I just got the answer on drupal.org.)


7

You need to create a install task in .profile, install tasks are run after modules are enabled. Here's an example you can use as a starting point: <?php /** * Implements hook_install_tasks(). */ function PROFILE_install_tasks() { $tasks = array( 'create_taxonomy_terms' => array( 'display_name' => st('Create taxonomy terms'), '...


6

A distribution is a collection of Drupal modules configured to perform a certain function. An installation profile is a script that will configure Drupal at install time. A distribution always has an installation profile in it, but not every installation profile will be a distribution. An installation profile can be distributed without the modules it uses;...


6

I would do #2. To my knowledge, all of the modules in Commerce Kickstart can be downloaded separately; Commerce Kickstart just offers some default configurations. If you run into trouble setting up the Commerce modules, you can always install a copy of Commerce Kickstart on a local machine/another server and reference that while you are setting up your ...


5

We have solved this problem with the use of: drupal 7 custom installation profile (these are much better and easier to make in drupal 7 compared to 6) custom features aegir to manage the sites, and handle backups and code migrations The end result is that aegir can provision a new site, with all modules/features installed, and also with a base IA with ...


5

Edit /var/aegir/config/includes/global.inc and put in it: <?php $conf['file_directory_path'] = '/var/nasmount/<?php print $this->uri ?>/files'; $conf['file_directory_temp'] = '/var/nasmount/<?php print $this->uri ?>/files/tmp'; This will be applied globally to all sites. If you only want to make this change for one or two sites, create ...


5

The answer is to mv siltes/firstsite.com/files to /var/nasmount, then create a symbolic link to it. (from inside your sites/firstsites.com directory, mkdir /var/nasmount/firstsite.com, mv ./files /var/nasmount/firstsite.com, ln -s /var/nasmount/firstsite.com/files files). I would put this in a script so this becomes a drush command, then make it run at the ...


5

Here's a bunch of them (scraped from Google cache, it seems the original page is no longer available): Miro Trapeze Sandy Scene Mobile Gingko Atrium Simple UNL Crystal If memory serves I've had Miro installed before with good results.


5

You should be able to set these in the .install file in your profile. I've struggled with this well, and the .install seems to be the best way to do it. <?php /** * Implements hook_install(). * * Performs actions to set up the site for this profile. * * @see system_install() */ function customProfile_install() { /* Other cool functions... ...


5

Commerce Kickstart has a documentation page explaining how to install or update the distribution: http://www.drupalcommerce.org/commerce-kickstart-2/install. It is linked from the project page on drupal.org. The updater inside Drupal can't update distributions (or Drupal core itself), so it can't work for Kickstart.


5

You can follow the example from the profiles/standard/standard.install file and use code like this inside your implementation of hook_install(): // Create a Home link in the main menu. $item = array( 'link_title' => st('Home'), 'link_path' => '<front>', 'menu_name' => 'main-menu', ); menu_link_save($item);


5

Yes, it is best to disable this in production for the performance reasons mentioned. I think the only times you would want to rebuild the feature list is when you are using the features and/or modules lists (as designed). Spending the resources to reload that when clearing cache for themeing purposes would be unnecessary.


5

You can Install Drupal using Drush without interacting WEB UI. You have to use following command drush dl drupal-7.x --drupal-project-rename=D7 cd D7 drush site-install standard --account-name=admin --account-pass=admin --db-url=mysql://YourMySQLUser:YourMySQLPassword@localhost/YourMySQLDatabase Ofcourse You have to install Drush if not already installed ...


4

In your profile_name.info, add a new line with theme = mytheme.


4

You wanted an example -- which is basically showing you how to do it. From the docs I supplied and the help others that gave you cookie crumbs provided should have lead you towards a solution, Other than saying "show me" all the code. A working profile example is in this GIST, you make a shortprofile directory in your /profiles directory and select "Short ...


4

I have 1 site in production (re)built every academic quarter off of an installation profile. I have various sites in development I am building using installation profiles. It's a PITA to try and include content into an install profile in my opinion. It seems to be a great way to code up the functionality of a website. But I still rely on a BASH build script ...


4

This would be a good feature request for the pm-updatecode command. I'd say that the best workaround for this missing functionality would be to tell Drush to lock the modules you do not want it to update. Do this one time: drush pm-updatecode --lock=project1,project2,project3 Replace 'project1,project2,project3' with a comma-separated list of all of the ...


4

For now I have solved this by patching the make file of the commerce kickstart profile: projects[commerce_kickstart][type] = profile projects[commerce_kickstart][patch][] = patches/commerce_kickstart.patch The content of patches/commerce_kickstart.patch is this: diff --git a/drupal-org.make b/drupal-org.make index bde036e..787f6ea 100755 --- a/drupal-org....


4

Take a look at Packaging a distribution on Drupal.org Here are the steps: Assemble the pre-requisites Create a Drush Make file Convert to a Drupal.org-specific Drush Make file Build and verify it works Commit your code to Git Release your code on Drupal.org Maintain your distribution Another great tutorial How to Write a Drupal 7 Installation Profile ...


4

Once your features are overridden, then the configuration is moved from the files to the database (i.e. Drupal no longer looks for the configuration supplied by the feature module and uses your configuration in the DB). This means you can update the files without overriding your changes/additions (Just don't hit the revert button in the Features admin UI). ...


3

This really helped me. How to Write a Drupal 7 Installation Profile http://drupal.org/node/1022020


3

The easiest solution is to : install this module Profiler Builder Profiler Builder is a module for automating the creation of installation profiles and distributions. It has support for the Profiler installation profile simplifier library but is able to run independent of it (1.0-RC4+). This module creates a downloadable tar package that gives you a well ...


3

Are you using the Profiler library to drive your installation profile? If so, there's a "feature" in the 7.x-2.0-beta1 release that causes this behavior. In short, there's some legacy code that disables all blocks in the database upon installation. If you're using the Profiler module, upgrade to the latest development snapshot to get the fix.


3

You need to add exclusive = 1 line in the .info file of your profile.


3

Yes. Modules, themes, and profiles must have unique names.


3

Build a simple module for your Aegir instance that implements hook_form_alter() to hide the Standard/Minimal profile options.


3

The profile used to install the site is stored in the variable install_profile. There's a few different ways you can see the value: Pop into the variable table in your database and search for install_profile: select value from variable where name='install_profile'; Install the Devel module and visit mysite.com/devel/variable Put this custom code in a ...


3

That's the admin module.


Only top voted, non community-wiki answers of a minimum length are eligible