Skip to content

zero1limited/magento2-stores-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zero1_StoresCli

This module aims to extend the default store module to allow creation of stores from the CLI. The main reason for this is that creating a store can take a long time, and any iteruption during this process can cause issues (such as missing sequence tables), running from the CLI wil reduce this risk.

This module also supplies a "fix" command that should re-trigger the original Magento logic and create any missing sequence tables. (Thanks to @andrewhowdencom: Magento issue 12318)

As with all commands, we strongly recommend runng away from production initially to test the outcome.

Create a new store

php bin/magento store:store:create --group-id=10 --name="New Store" --code=new_store

Fix a store

php bin/magento store:store:fix --store-id=9

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages