Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-2638

eZ Commerce clean Installer

    XMLWordPrintable

Details

    • Icon: Story Story
    • Resolution: Done
    • Icon: High High
    • 2.5.0
    • None
    • eZ Commerce
    • None
    • [3.0] - Sprint 11

    Description

      Update the installer system of eZ Commerce and eZ Commerce Advanced to follow eZ best practice and use migration bundle.
      Silver.solutions previously worked on it but need our support as they have been blocked.

      The end goal of the installer should be:

      • A/ to enable the installation of a clean install eZ Platform + eZ Commerce
      • B/ to enable the installation of a demo instal of eZ Platform + eZ Commerce
      • C/ to enable the installation of a clean install of eZ Commerce on top of an already installed eZ Platform installation
        and the same for eZ Commerce advanced.

      About implementation of A/, there is no strong requirements and it could be simply to sequence 1st the standard eZ Platform installer (on clean or demo) then launch the eZ Commerce installer, or having an option in the eZ Commerce installer itself that installs eZ Platform.

      Here is a status of what they did, provided by Frank Dege

      The installer uses some API calls of eZ Platform and the migration bundle in addition.

      I have attached the very draft command (currently all methods are part of the command. A more flexible approach using services would be better). This command performs almost all tasks which have to be done during the installation.

      When we started this task we decided to go for a commandline / migration bundle approach since we had to create a lot of objects, sections etc and the installer updates a app/config/ezcommerce_parameters.yml file with locations required for eZ Commerce.

      Most issues occurred when we tried to import the content objects for the /components/textmodules tree. I have attached a report about the issues we found (pdf).

      These are the migration files used by the installer (we need to update these for eZ Commerce). You can find these files in an eZ Commerce installation as well (vendor/silversolutions/silver.e-shop/install/)
      'migrations/users/201804161300_users.yml',
      'migrations/content_types/201804161300_content_types.yml',
      'migrations/sections/201804161300_sections.yml',
      'migrations/content/Components/201804161300_components.yml',
      'migrations/content/Catalog/201804161300_product_catalog.yml',
      'migrations/roles/201804161300_roles.yml',

      Attachments

        Activity

          People

            Unassigned Unassigned
            roland.benedetti-obsolete@ibexa.co Roland Benedetti
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: