//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////// BEL ////////////////////////// ////////////////////////////////// Version 7.x-1.x /////////////////////////// //////////////////////////////////////////////////////////////////////////////// Index ----- 1. Fixes/Bugs Issues | List of bugs that corrects this version 2. Requirements | Requirements for different install/update 3. Requirements Module Contrib | List of versioned contrib modules necessary for the operation of the module 4. Requirements Module Oxymis | List of Studialis versioned modules 5.1 Install BEL FROM SCRATCH | Installation BEL in clean environment A.1 [AUTO][GET] - Sync Product | [AUTO][GET] - Synchro Product A.2 [MANUELLE][GET] - Sync Product | [MANUELLE][GET] - Synchro Product B.1 [AUTO][POST] - Sync BEL | [AUTO][POST] - Synchro BEL B.2 [MANUELLE][POST] - Sync BEL | [MANUELLE][POST] - Synchro BEL 1. Fixes/Bugs Issues -------------------- 2. Requirements --------------- WARNING : If these prerequisites are not met, the Webmaster must adapt its own process of install/update //DIRECTORY Before installing the modules, please ensure that the directories exist: sites/all/modules/contrib sites/all/modules/custom sites/all/modules/features //TOOLS PHP Version 7.0.x Drush Version >= 5.8 Drupal Version = 7.59 3. Requirements Module Contrib ------------------------------ For each installation FromScratch/Update, install/override these modules: //Contrib drush dl -y entity-7.x-1.9 --source=http://drupal.oxymis.fr/release-history --destination=sites/all/modules/contrib; drush dl -y entityreference-7.x-1.3 --source=http://drupal.oxymis.fr/release-history --destination=sites/all/modules/contrib; drush dl -y views; drush dl -y features; drush dl -y ctools; drush dl -y replicate; drush dl -y webform; drush dl -y jquery_update; drush dl -y rules; //Commerce drush dl -y commerce; drush dl commerce_atos --select --source=http://drupal.oxymis.fr/release-history --destination=sites/all/modules/contrib; drush dl -y commerce_autosku; drush dl -y commerce_backoffice; drush dl -y commerce_checkout_progress; drush dl -y commerce_extra_panes; drush dl -y customer_profile_type_ui; drush dl -y commerce_product_urls; drush dl -y commerce_rules_extra; drush dl -y views_bulk_operations; drush dl -y views_megarow; drush dl -y inline_conditions; drush dl -y commerce_stock; drush dl -y addressfield; drush dl -y eva; drush dl -y inline_entity_form; 4. Requirements Module Oxymis ----------------------------- drush dl --select leads_form --source=http://drupal.oxymis.fr/release-history --destination=sites/all/modules/custom; drush dl --select cel_checkout --source=http://drupal.oxymis.fr/release-history --destination=sites/all/modules/custom; drush dl --select cel_candidate --source=http://drupal.oxymis.fr/release-history --destination=sites/all/modules/features; drush dl --select cel_configuration --source=http://drupal.oxymis.fr/release-history --destination=sites/all/modules/features; drush dl --select cel_lead --source=http://drupal.oxymis.fr/release-history --destination=sites/all/modules/custom; drush dl --select cel_reference --source=http://drupal.oxymis.fr/release-history --destination=sites/all/modules/features; drush dl --select cel_field_reference --source=http://drupal.oxymis.fr/release-history --destination=sites/all/modules/features; drush dl --select bel_contact --source=http://drupal.oxymis.fr/release-history --destination=sites/all/modules/custom; drush dl --select bel_lead --source=http://drupal.oxymis.fr/release-history --destination=sites/all/modules/custom; drush dl --select bel_configuration --source=http://drupal.oxymis.fr/release-history --destination=sites/all/modules/custom; drush dl --select bel_sync_product --source=http://drupal.oxymis.fr/release-history --destination=sites/all/modules/custom; 5.1 Install BEL FROM SCRATCH ---------------------------- drush en -y leads_form; drush en -y cel_candidate; drush en -y cel_checkout; drush en -y commerce commerce_ui; drush en -y commerce_customer commerce_customer_ui; drush en -y commerce_price; drush en -y commerce_line_item commerce_line_item_ui; drush en -y commerce_order commerce_order_ui; drush en -y commerce_checkout commerce_payment commerce_product; drush en -y commerce_cart commerce_product_pricing; drush en -y commerce_product_ui; drush en -y commerce_tax_ui; drush en -y commerce_payment_ui; drush en -y commerce_atos; drush en -y commerce_autosku; drush en -y commerce_backoffice_content; drush en -y commerce_backoffice_order; drush en -y commerce_backoffice_product; drush en -y commerce_cart_expiration; drush en -y commerce_checkout_progress; drush en -y commerce_extra_panes_termsofservice; drush en -y commerce_product_urls; drush en -y commerce_rules_extra; drush en -y commerce_ssr; drush en -y commerce_stock_ui; drush en -y inline_entity_form; drush en -y bel_contact; druns en -y bel_syn_product; drush cc all; A.1 [AUTO][GET] - Sync Product ------------------------------ [PROD] ex : PMP > cp bel_synchro_product.sh /usr/local/bin/ > chmod 755 /usr/local/bin/bel_synchro_product.sh > chown root. /usr/local/bin/bel_synchro_product.sh > vim /etc/cron.d/studialis //Toutes les heures > * 3,6,9,12,15,18,21,0 * * * pmp-admin . /etc/profile.d/studialis.sh; /usr/local/bin/bel_synchro_product.sh /home/pmp-admin/sites | logger -t SYNCHRO_BEL_PRODUCT A.2 [MANUELLE][GET] - Sync Product ---------------------------------- > cd sites/all/modules > drush php-eval 'bel_sync_product_cron()'; B.1 [AUTO][POST] - Sync BEL --------------------------- > cp bel_lead_synchro_synapse.sh /usr/local/bin/ > chmod 755 /usr/local/bin/bel_lead_synchro_synapse.sh > chown root. /usr/local/bin/bel_lead_synchro_synapse.sh > vim /etc/cron.d/studialis //Toutes les heures ## PMP ## 15 */1 * * * pmp-admin . /etc/profile.d/studialis.sh; /usr/local/bin/bel_lead_synchro_synapse.sh /home/pmp-admin/sites | logger -t BEL_LEAD_SYNCHRO_PMP ## PCF ## 30 */1 * * * pcf-admin . /etc/profile.d/studialis.sh; /usr/local/bin/bel_lead_synchro_synapse.sh /home/pmp-admin/sites | logger -t BEL_LEAD_SYNCHRO_PCF ## PAC ## 45 */1 * * * pac-admin . /etc/profile.d/studialis.sh; /usr/local/bin/bel_lead_synchro_synapse.sh /home/pmp-admin/sites | logger -t BEL_LEAD_SYNCHRO_PAC B.2 [MANUELLE][POST] - Sync BEL ------------------------------- > cd sites/all/modules > drush php-eval 'bel_lead_cron_execute()';