-
Notifications
You must be signed in to change notification settings - Fork 400
Description
I'm following the instructions in the readme, but I'm getting stuck so I'm wondering if there's something I'm missing here.
I installed the composer packages in the root of my WP installation and added this to my wp-config.php file (before wp-settings.phpis loaded):
require_once __DIR__ . '/vendor/autoload.php';
define( 'S3_UPLOADS_BUCKET', 'xxxxxxxxxxx' );
define( 'S3_UPLOADS_REGION', 'us-west-2' );
define( 'S3_UPLOADS_KEY', 'XXXXXXXXXXXXXXXXXXXX' );
define( 'S3_UPLOADS_SECRET', 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' );Then the next step says to "enable the plugin" using WP-CLI command wp plugin activate S3-Uploads, but it just says "Warning: The 'S3-Uploads' plugin could not be found." When I list the available plugins using wp plugin list, it doesn't list it.
The installation doesn't say anything about creating a folder into the wp-content/plugins directory or moving a package added from composer into the plugins directory or anything like that to make WP recognize this as a plugin. Is that's what's expected here or what?
I would use the manual install method, but since that's been deprecated for a couple of years, I wanted to use the composer installation, thinking that there was a possibility that if I use the manual way that the updating process might possibly be more difficult in the future.
Sidenote: I did notice looking in the vendor folder that the humanmade subfolder is empty, which I imagine is not supposed to be like that.