2017 © Pedro Peláez
 

magento2-module magento2-configurator

Keep magento persistently configured using files

image

ctidigital/magento2-configurator

Keep magento persistently configured using files

  • Tuesday, July 10, 2018
  • by chevli
  • Repository
  • 14 Watchers
  • 96 Stars
  • 17,726 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 32 Forks
  • 10 Open issues
  • 77 Versions
  • 38 % Grown

The README.md

Magento 2 Configurator

Build Status, (*1)

A Magento module initially created by CTI Digital to create and maintain database variables using files. This module aims to bring the following benefits to a Magento developer's work flow:, (*2)

  • Install Magento from scratch with important database based configuration ready.
  • Share and collaborate configuration with other colleagues using your own versioning system.
  • Keep versions of your configurations using your own versioning system.
  • Split your configuration based on the environment you're developing on.

If you're interested to find out more about the background of the configurator, watch this lightning talk by Raj Chevli at Mage Titans in Manchester on [YouTube]., (*3)

This is a work in progress and by no means for use with production environments (and probably not even development environments either just yet)., (*4)

Testing Locally For Development

If you are contributing the module, please run the following commands to stand the best chance with Travis CI liking your code. These test include PHP Code Sniffer, PHP Mess Detector, PHP Copy and Paste Detector, PHP Unit, (*5)

php vendor/bin/phpcs --standard=vendor/magento/magento-coding-standard/Magento2/ruleset.xml vendor/ctidigital/magento2-configurator/Model/ vendor/ctidigital/magento2-configurator/Console/ vendor/ctidigital/magento2-configurator/Test/ vendor/ctidigital/magento2-configurator/Api/ vendor/ctidigital/magento2-configurator/Component/ vendor/ctidigital/magento2-configurator/Exception/
php vendor/bin/phpmd vendor/ctidigital/magento2-configurator/Model/,vendor/ctidigital/magento2-configurator/Console/,vendor/ctidigital/magento2-configurator/Test/,vendor/ctidigital/magento2-configurator/Api/,vendor/ctidigital/magento2-configurator/Component/,vendor/ctidigital/magento2-configurator/Exception/ text cleancode,codesize,controversial,design,naming,unusedcode
php vendor/bin/phpcpd vendor/ctidigital/magento2-configurator/Model/ vendor/ctidigital/magento2-configurator/Console vendor/ctidigital/magento2-configurator/Test/ vendor/ctidigital/magento2-configurator/Api/ vendor/ctidigital/magento2-configurator/Component/ vendor/ctidigital/magento2-configurator/Exception/
php vendor/bin/phpunit vendor/ctidigital/magento2-configurator/Test/Unit/

Integration tests

<testsuite name="magento2-configurator">
    <directory>../../../vendor/ctidigital/magento2-configurator/Test/Integration</directory>
</testsuite>
 ````

- You can run the tests from the correct place on the command line

/dev/tests/integration$ ../../../vendor/bin/phpunit --testsuite "magento2-configurator", (*6)


- You can also add the magento PHP developer tools to your path, so that you do not have to specify location of phpunit

export PATH=$PATH:/var/www/magento2/vendor/bin ````, (*7)

Unit tests

If you're developing a new component, please ensure you have your corresponding unit test which extends ComponentAbstractTestCase as that will test that your component has the required functions. Do also include sample files with your component that works, (*8)

Travis

We also use Travis CI to automate part of the testing process (we are still looking to add more to this!). It tests the following: * CodeSniffer * MessDetector * Copy & Paste Detection * Unit Tests * Run Configurator (we aim to run it on these versions) 1) Latest 3 minor versions 2) Latest release candidate (allowed to fail), (*9)

Getting Started

  1. Create a master.yaml file in <mage_root>/app/etc/. (see Samples/master.yaml)
  2. Enable Modules CtiDigital_Configurator,FireGento_FastSimpleImport.
  3. Run bin/magento configurator:run --env="<environment>"

Usage

  • Listing available components bin/magento configurator:list
  • Running individual components bin/magento configurator:run --env="<environment>" --component="config"
  • Extra logs bin/magento configurator:run --env="<environment>" -v

Roadmap for components to do

Component Code Written Tests Written Sample Files
Websites :white_check_mark: :grey_exclamation: :white_check_mark:
System Configuration :white_check_mark: :grey_exclamation: :white_check_mark:
Categories :white_check_mark: :grey_exclamation: :white_check_mark:
Products :white_check_mark: :grey_exclamation: :white_check_mark:
Attributes :white_check_mark: :grey_exclamation: :white_check_mark:
Attribute Sets :white_check_mark: :grey_exclamation: :white_check_mark:
Blocks :white_check_mark: :grey_exclamation: :white_check_mark:
Admin Roles :white_check_mark: :grey_exclamation: :white_check_mark:
Admin Users :white_check_mark: :grey_exclamation: :white_check_mark:
Pages :white_check_mark: :grey_exclamation: :white_check_mark:
Widgets :white_check_mark: :grey_exclamation: :white_check_mark:
Customer Groups :white_check_mark: :grey_exclamation: :white_check_mark:
Media :white_check_mark: :grey_exclamation: :white_check_mark:
Tax Rules :white_check_mark: :grey_exclamation: :white_check_mark:
API Integrations :white_check_mark: :grey_exclamation: :white_check_mark:
Tax Rates :white_check_mark: :grey_exclamation: :white_check_mark:
Rewrites :white_check_mark: :white_check_mark: :white_check_mark:
Review Ratings :white_check_mark: :white_check_mark: :white_check_mark:
Related Products :white_check_mark: :grey_exclamation: :white_check_mark:
Up Sell Products :white_check_mark: :grey_exclamation: :white_check_mark:
Cross Sell Products :white_check_mark: :grey_exclamation: :white_check_mark:
Customers :white_check_mark: :white_check_mark: :white_check_mark:
SQL :white_check_mark: :white_check_mark: :white_check_mark:
Catalog Price Rules :white_check_mark: :x: :white_check_mark:
Shipping Table Rates :white_check_mark: :white_check_mark: :white_check_mark:
Customer Attributes :white_check_mark: :x: :white_check_mark:
Shopping Cart Price Rules :x: :x: :x:
Orders :x: :x: :x:
Tiered Prices :x: :x: :x:

License

MIT, (*10)

The Versions

29/06 2018

dev-tiered-pricing-component

dev-tiered-pricing-component

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

14/03 2018

dev-tax-rule-deadlock-workaround

dev-tax-rule-deadlock-workaround

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

14/03 2018

dev-fix-attribute-sets-using-codes

dev-fix-attribute-sets-using-codes

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

08/02 2018

dev-multiselect-attribute-options

dev-multiselect-attribute-options

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

05/02 2018

dev-customer-attributes

dev-customer-attributes

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

02/02 2018
02/02 2018
31/01 2018

dev-inviqa-cti-add-shipping-table-rates

dev-inviqa-cti-add-shipping-table-rates

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

19/01 2018

dev-paragraphs-in-product-descriptions

dev-paragraphs-in-product-descriptions

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

16/01 2018

dev-prevent-tax-rule-deadlocks

dev-prevent-tax-rule-deadlocks

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

10/11 2017

dev-customer-import-improvements

dev-customer-import-improvements

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

04/11 2017

dev-bartoszherba-feature/remove-om-from-processor

dev-bartoszherba-feature/remove-om-from-processor

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

04/11 2017

dev-issue-52

dev-issue-52

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

04/11 2017

dev-bartoszherba-issue-48

dev-bartoszherba-issue-48

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

31/10 2017

dev-issue-46

dev-issue-46

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

22/10 2017

dev-issue-44

dev-issue-44

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

20/09 2017
08/08 2017
08/08 2017

dev-customer

dev-customer

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

28/07 2017
28/07 2017

dev-product-refactor

dev-product-refactor

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

26/07 2017
26/07 2017
26/07 2017
26/07 2017
20/07 2017
14/07 2017
14/07 2017

dev-product-links

dev-product-links

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

11/07 2017

dev-travis-expand

dev-travis-expand

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

29/06 2017
29/06 2017
16/06 2017
16/06 2017

dev-review-rating

dev-review-rating

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

09/06 2017
09/06 2017

dev-inviqa-add-rewrites

dev-inviqa-add-rewrites

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

09/06 2017

dev-attribute-sets-update

dev-attribute-sets-update

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

09/06 2017
16/05 2017
03/05 2017
27/04 2017
21/04 2017

0.14.2

0.14.2.0

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

19/04 2017

0.14.0

0.14.0.0

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

03/04 2017

dev-update-product-import

dev-update-product-import

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

31/03 2017

0.13.0

0.13.0.0

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

31/03 2017

dev-apiintegrations

dev-apiintegrations

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

31/03 2017

0.12.0

0.12.0.0

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

31/03 2017

dev-attributes

dev-attributes

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

31/03 2017

0.11.0

0.11.0.0

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

31/03 2017

dev-integration-tests

dev-integration-tests

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

30/03 2017

dev-docs

dev-docs

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

30/03 2017

0.10.0

0.10.0.0

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

29/03 2017

0.9.0

0.9.0.0

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

29/03 2017

0.8.0

0.8.0.0

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

17/03 2017

0.7.1

0.7.1.0

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

17/03 2017

0.7.0

0.7.0.0

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

17/03 2017

0.6.0

0.6.0.0

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

28/02 2017

dev-customers-and-groups

dev-customers-and-groups

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

20/02 2017

0.5.6

0.5.6.0

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

07/10 2016

0.5.1

0.5.1.0

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

23/09 2016

0.4.0

0.4.0.0

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

14/09 2016

0.3.1

0.3.1.0

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

14/09 2016

0.3.0

0.3.0.0

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires

13/09 2016
11/09 2016
08/09 2016

dev-product

dev-product

Keep magento persistently configured using files

  Sources   Download

The Requires

 

The Development Requires