Changes between Version 8 and Version 9 of InstallDrupal
- Timestamp:
- Jan 18, 2013, 11:23:42 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallDrupal
v8 v9 31 31 Note: If channel-discover fails, try running "pear upgrade" first. 32 32 33 Another note: The drush command must be used from within a drupal installation, so cd to the drupal site directory to use it. 34 35 One 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 39 Some 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 }}} 43 Once complete, visit the admin page a web browser: [drupal site url]/admin/boinc/environment 44 45 Enter 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 33 54 == Enable BOINC Features == 34 55 35 56 The Features module must be enabled, if it isn't already, or corresponding drush extensions will not be available: 36 57 {{{ 37 #drush en features38 }}} 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 61 Once 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: 41 62 {{{ 42 # drush en [feature...] 63 $ drush fl 64 $ drush en [feature...] 43 65 }}} 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):66 This 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): 45 67 {{{ 46 #drush fr-all68 $ drush fr-all 47 69 }}} 48 70 This 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. … … 52 74 === URL Aliases === 53 75 54 Required URL aliases include :76 Required URL aliases include (via web admin at: admin/build/path): 55 77 56 78 * account -> dashboard 57 79 * account/dashboard -> dashboard 80 * account/info/edit -> user/me/edit 81 * account/info/edit/profile -> user/me/edit/profile 58 82 59 83 === Menu Configuration === 60 84 61 Ensure that the Account menu is present and correct . It should contain the following menu items:85 Ensure 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: 62 86 63 87 * Dashboard … … 69 93 70 94 Disable "My bookmarks," which is created by the Flag module, but is not used. 95 96 === Default Profile Images === 97 98 Set 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. 71 99 72 100 = Importing BOINC data =