bina/module-reset-database

重置数据库

1.1.0 2022-12-09 00:57 UTC

This package is auto-updated.

Last update: 2024-09-09 05:30:39 UTC


README

Bina Commerce

关于项目

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.

作者