This commit is contained in:
Daniel Seifert 2019-07-19 10:44:52 +02:00
commit d451a823e3
2 changed files with 38 additions and 0 deletions

26
README.md Normal file
View File

@ -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`

12
composer.json Normal file
View File

@ -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": "*"
}
}