hydroshare / hydroshare_drupal

Hydroshare is an online collaboration environment for sharing data, models, and code related to hydrology and water sciences
beta.hydroshare.org
GNU General Public License v2.0
7 stars 2 forks source link

InstallProfile #12

Open valentinedwv opened 10 years ago

valentinedwv commented 10 years ago

We should strive to create hydroshare distribution that is an installation profile that can be installed with tools like drush.

Right now DB is fully created, and I assume data migrations will happen with drush

You should be able to install the hydroshare profile by disabling the the prefix in settings.php

$databases = array (
  'default' => 
  array (
    'default' => 
    array (
      'database' => 'drupal_hydroshare',
      'username' => 'admin',
      'password' => 'water',
      'host' => 'localhost',
      'port' => '',
      'driver' => 'mysql',
#      'prefix' => 'drupal_',
    ),
  ),
);

and going to http://hydroshare.local:7777/install.php

jeffersonheard commented 10 years ago

Dave, can you say more about what needs to be done to support this? This seems more like a milestone than an issue, and we need some specific tasks

valentinedwv commented 10 years ago

Jeff, This goes with the features, and the dashboard. Basically, I enable the profile and go through the install, and end up with a site, with a clean database. This now functions... after the usual novice pains... you can't create blocks, until theme is installed. Theme is installed in install profile. Works.

valentinedwv commented 10 years ago

Missed enabling a few modules that are enabled on dev. (and caught a couple missing modules in the process)

valentinedwv commented 10 years ago

Reopening since there are issues: install profile utilities list https://drupal.org/node/180078

Module to check profile: https://drupal.org/project/installprofiletest

Possible way to inherit from a distribution profile like openAtrium: http://www.phase2technology.com/blog/inheriting-your-drupal-profile-from-an-existing-distribution/