commit d451a823e3516878cc58838fbee92ad7e1c54e1b Author: Daniel Seifert Date: Fri Jul 19 10:44:52 2019 +0200 initial diff --git a/README.md b/README.md new file mode 100644 index 0000000..7243122 --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# Demodata replacement if demodata aren't used (Professional Edition) + +This package removes the unused OXID demodata package from the shop. + +## Hint + +For installations of the Community Edition and Enterprise Edition please use the packages in "d3/oxideshop-demodata-ce-replacement" (CE) or "d3/oxideshop-demodata-ee-replacement" (EE). + +## Install + +if the demodata aren't used and should be removed from the shop installation + +* Run this composer statement in your shop. Adjust this instruction if your installation requires it. + + `composer require d3/oxideshop-demodata-pe-replacement --update-no-dev` + +* Remove the installed demo data (e.g. pictures) from your installation in the source/out/pictures directory. + +## Uninstall + +If the demo data is to be reused + +* Manually clean up the replacement module entry (d3/oxideshop-demodata-pe-replacement and d3/oxideshop-demodata-ce-replacement) from the vendor/composer/installed.json and composer.lock files. +* Run this composer statement in your shop. Adjust this instruction if your installation requires it. + + `composer remove d3/oxideshop-demodata-pe-replacement d3/oxideshop-demodata-ce-replacement --update-no-dev` diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..8e71f0e --- /dev/null +++ b/composer.json @@ -0,0 +1,12 @@ +{ + "name": "d3/oxideshop-demodata-pe-replacement", + "description": "Empty replacement for the PE demo data when not in use", + "version": "1.0.0", + "require": { + "oxid-esales/oxideshop-metapackage-pe": "^6.0" + "d3/oxideshop-demodata-ce-replacement": "*" + }, + "replace": { + "oxid-esales/oxideshop-demodata-pe": "*" + } +} \ No newline at end of file