This commit is contained in:
Daniel Seifert 2019-07-19 10:48:13 +02:00
commit 122c5667f3
2 changed files with 37 additions and 0 deletions

26
README.md Normal file
View File

@ -0,0 +1,26 @@
# Demodata replacement if demodata aren't used (Enterprise Edition)
This package removes the unused OXID demodata package from the shop.
## Hint
For installations of the Community Edition and Professional Edition please use the packages in "d3/oxideshop-demodata-ce-replacement" (CE) or "d3/oxideshop-demodata-pe-replacement" (PE).
## 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-ee-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-ee-replacement and 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-ee-replacement d3/oxideshop-demodata-ce-replacement --update-no-dev`

11
composer.json Normal file
View File

@ -0,0 +1,11 @@
{
"name": "d3/oxideshop-demodata-ee-replacement",
"description": "Empty replacement for the EE demo data when not in use",
"require": {
"oxid-esales/oxideshop-metapackage-ee": "^6.0"
"d3/oxideshop-demodata-pe-replacement": "*"
},
"replace": {
"oxid-esales/oxideshop-demodata-ee": "*"
}
}