Skip to content

maqlec/magento2-configurator

 
 

Repository files navigation

Magento 2 Configurator

Build Status

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:

  • 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 about finding out more about the background of the configurator, watch this lightning talk by Rick Steckles at Mage Titans in Manchester on YouTube.

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

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

php vendor/bin/phpcs --standard=PSR2 vendor/ctidigital/magento2-configurator/Model/ vendor/ctidigital/magento2-configurator/Console/ vendor/ctidigital/magento2-configurator/Test/
php vendor/bin/phpmd vendor/ctidigital/magento2-configurator/Model/,vendor/ctidigital/magento2-configurator/Console/,vendor/ctidigital/magento2-configurator/Test/ 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/
php vendor/bin/phpunit --coverage-clover build/logs/clover.xml vendor/ctidigital/magento2-configurator/Test/Unit/

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>" --components="config"
  • Extra logs bin/magento configurator:run --env="<environment>" -v

Roadmap for components to do

Component Code Written Tests Written Sample Files
Websites
System Configuration
Blocks
Attribute Sets
Attributes
Categories
Products
Admin Roles
Admin Users
Pages
Customers
Media
Widgets
Related Products
SQL
Customer Groups
Tax Rules
API Roles
API Users
Shipping Table Rates
Catalog Price Rules
Shopping Cart Price Rules
Rewrites
Orders

License

MIT

About

Magento 2 Configurator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%