Changes between Version 8 and Version 9 of InstallDrupal


Ignore:
Timestamp:
Jan 18, 2013, 11:23:42 AM (12 years ago)
Author:
tristano
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallDrupal

    v8 v9  
    3131Note: If channel-discover fails, try running "pear upgrade" first.
    3232
     33Another note: The drush command must be used from within a drupal installation, so cd to the drupal site directory to use it.
     34
     35One more note: The memory_limit setting for the PHP command line interface may need to be increased beyond the default for drush to function! (128M recommended)
     36
     37== Configure BOINC Environment ==
     38
     39Some basic environment configuration is required before enabling any features. To access the environment configuration interface, enable the boincuser module:
     40{{{
     41$ drush en boincuser
     42}}}
     43Once complete, visit the admin page a web browser: [drupal site url]/admin/boinc/environment
     44
     45Enter the system path of the BOINC installation for //BOINC project root directory// and click the [Save configuration] button. In most cases, all necessary paths will be detected from that root directory. If not, overrides can be specified. These configurations can also be set via drush with the following commands, but it is recommended that the web admin interface be used for simplicity:
     46{{{
     47$ drush vset boinc_root_dir /path/to/boinc
     48$ drush vset boinc_config_xml_dir /path/to/config/xml
     49$ drush vset boinc_html_inc_dir /path/to/html/inc
     50$ drush vset boinc_project_config_dir /path/to/html/project
     51$ drush vset boinc_user_image_dir /path/to/profile/images
     52}}}
     53
    3354== Enable BOINC Features ==
    3455
    3556The Features module must be enabled, if it isn't already, or corresponding drush extensions will not be available:
    3657{{{
    37 # drush en features
    38 }}}     
    39 The memory_limit setting for the PHP command line interface may need to be increased beyond the default for drush to function
    40 Once drush is set up, BOINC features can be enabled by first creating symbolic links in sites/all/modules/features-enabled pointing back to the feature module under sites/all/features and then using the following drush command:
     58$ drush en features
     59}}}
     60
     61Once drush is set up, BOINC features can be enabled with a few commands. First, create symbolic links in sites/all/modules/features-enabled pointing back to the desired feature module under sites/all/features. The following drush commands can then be used to list available features and enable them:
    4162{{{
    42 # drush en [feature...]
     63$ drush fl
     64$ drush en [feature...]
    4365}}}
    44 This will automatically determine which additional features or modules are required and prompt for installation thereof. In some cases, it may be necessary to then force an update from file for all features to revert any "overrides" that exist (if any functionality provided by a feature already existed in the site database, it will need to be "reverted" to what is provided by the feature):
     66This process will automatically determine which additional features or modules are required and prompt for installation thereof. In some cases, it may be necessary to then force an update from file for all features to revert any "overrides" that exist (i.e. if any functionality provided by a feature already existed in the site database, it will need to be "reverted" to what is provided by the feature on the filesystem):
    4567{{{
    46 # drush fr-all
     68$ drush fr-all
    4769}}}
    4870This command will ensure that all changes in code are applied to the site database. Similarly, when feature code is changed in git, a specific feature or set of features can be updated with the drush fr [feature] command.
     
    5274=== URL Aliases ===
    5375
    54 Required URL aliases include:
     76Required URL aliases include (via web admin at: admin/build/path):
    5577
    5678* account -> dashboard
    5779* account/dashboard -> dashboard
     80* account/info/edit -> user/me/edit
     81* account/info/edit/profile -> user/me/edit/profile
    5882
    5983=== Menu Configuration ===
    6084
    61 Ensure that the Account menu is present and correct. It should contain the following menu items:
     85Ensure that the Account menu is present and correct (edit Primary links via web admin at: admin/build/menu). It should contain the following menu items:
    6286
    6387* Dashboard
     
    6993
    7094Disable "My bookmarks," which is created by the Flag module, but is not used.
     95
     96=== Default Profile Images ===
     97
     98Set up a default image for user avatars. Go to: admin/content/node-type/profile/fields/field_image and select a file under the "Default image" section.
    7199
    72100= Importing BOINC data =