bina / module-reset-database
重置数据库
Requires
- php: ~7.0.13||~7.1.0||~7.2.0||~7.3.0||~7.4.0
- magento/framework: ~101.0||~102.0||~103.0
This package is auto-updated.
Last update: 2024-09-09 05:30:39 UTC
README
关于项目
A Magento 2 implementation for my Bina Commerce brand.
This little implementation allows you to reset a Magento database to its initial state.
安装
To proceed with the installation of your module, you need to go to the document root of your Magento installation and run the following commands
composer require bina/module-reset-database
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
bin/magento cache:clean
bin/magento cache:flush
注意 To execute
bin/magento setup:static-content:deploy
you need to list all the languages of your store/s using the ISO-639 format. Also, if you are using a platform mode different than production, you need to execute the command using the-f
flag:bin/magento setup:static-content:deploy -f
(https://devdocs.magento.com/guides/v2.4/config-guide/cli/config-cli-subcommands-static-view.html).
注意 The command
bin/magento cache:flush
is optional (https://devdocs.magento.com/guides/v2.4/config-guide/cli/config-cli-subcommands-cache.html#config-cli-subcommands-cache-clean).
用法
In order to find documentation on the use and related issues, visit the official page of this development.