Rename composer project

This commit is contained in:
Sebastian Meyer 2023-09-29 21:22:22 +02:00
parent 6cf4b53289
commit db76e3ba10
2 changed files with 6 additions and 3 deletions

View File

@ -10,7 +10,7 @@ A demo installation can be found [here](https://demo.opencultureconsulting.com/o
## Installation ## Installation
1. Run `composer create-project opencultureconsulting/oai_pmh <path>`. 1. Run `composer create-project opencultureconsulting/simple-oai-pmh <path>`.
2. Create a data directory in a location not publicly accessible (i. e. outside of `<path>`). Create a subdirectory inside the specified data directory for every format (i. e. `metadataPrefix`) you want to provide. 2. Create a data directory in a location not publicly accessible (i. e. outside of `<path>`). Create a subdirectory inside the specified data directory for every format (i. e. `metadataPrefix`) you want to provide.
@ -24,7 +24,7 @@ A demo installation can be found [here](https://demo.opencultureconsulting.com/o
1. Backup `Configuration/Main.php`! 1. Backup `Configuration/Main.php`!
2. Delete `<path>` and re-install by running `composer create-project opencultureconsulting/oai_pmh <path>`. 2. Delete `<path>` and re-install by running `composer create-project opencultureconsulting/simple-oai-pmh <path>`.
3. Move your configuration back into `Configuration/Main.php`. 3. Move your configuration back into `Configuration/Main.php`.

View File

@ -1,5 +1,5 @@
{ {
"name": "opencultureconsulting/oai_pmh", "name": "opencultureconsulting/simple-oai-pmh",
"description": "This is a stand-alone and easy to install data provider implementing the Open Archives Initiative's Protocol for Metadata Harvesting (OAI-PMH).", "description": "This is a stand-alone and easy to install data provider implementing the Open Archives Initiative's Protocol for Metadata Harvesting (OAI-PMH).",
"type": "project", "type": "project",
"keywords": [ "keywords": [
@ -49,6 +49,9 @@
"php": "^7.0|^8.0", "php": "^7.0|^8.0",
"ext-xml": "*" "ext-xml": "*"
}, },
"replace": {
"opencultureconsulting/oai_pmh": "self.version"
},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"OCC\\OAI2\\": "Classes/" "OCC\\OAI2\\": "Classes/"