This plugin uses composer as a package manager. After downloading the plugin (as a ZIP file or via git pull
) run one of the following commands:
- For production:
composer install --no-dev --optimize-autoloader
- For development:
composer install
Running one of the above commands will create a vendor
directory which is required for the plugin to function correctly. Applications that are using CI/CD already run one of these commands automatically and can skip this step.
- Commit the plugin to your application's
plugins
directory. - Activate the plugin through code or within the WordPress Admin dashboard.
- Create an IAM user with Programmatic Access.
- Enter the provided AWS S3 API keys on the plugins's Settings page.
- Backfill the uploads directory on AWS by running the following command:
wp s3-media upload-all --url=example-site.com
For more detailed instructions on setting up the AWS permissions, see the AWS Setup Guide.