Skip to content

Commit

Permalink
Upgrade dependencies, add a method to check if file exists, update re…
Browse files Browse the repository at this point in the history
…adme
  • Loading branch information
Tim Stallmann authored and mikesname committed Apr 18, 2023
1 parent dc19511 commit 527fcec
Show file tree
Hide file tree
Showing 4 changed files with 432 additions and 97 deletions.
4 changes: 3 additions & 1 deletion plugin.php → OmekaAmazonS3StorageAdapterPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@
require_once('vendor/autoload.php');
require_once('libraries/Omeka/Storage/Adapter/AmazonS3.php');


class OmekaAmazonS3StorageAdapterPlugin extends Omeka_Plugin_AbstractPlugin
{
}
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ The main differences are:

## Usage

1. Install the plugin by extracting it to the `plugins` directory in your Omeka instance and enabling
in admin/plugins
2. Add the following to your Omeka `application/configuration/config.ini` file:
1. Download repo as a zip file and extract it to a folder named `OmekaAmazonS3StorageAdapter` in the `plugins` directory in your Omeka instance.
2. Run `composer install` within the plugin's folder to install the Amazon S3 PHP SDK.
3. Enable the plugin in admin/plugins
4. Add the following to your Omeka `application/configuration/config.ini` file:

```
storage.adapter = Omeka_Storage_Adapter_AmazonS3
Expand Down
Loading

0 comments on commit 527fcec

Please sign in to comment.