An extension for EverShop to use AWS S3 File Storage
npm install @evershop/s3_file_storageThis extension allows you to store your EverShop files including product images, banners on AWS S3.
> Note: This version 2.1.0 requires EverShop version 2.1.0 or higher.
``bash`
npm install @evershop/s3_file_storage
Edit the config/default.json file in the root directory of your EverShop installation and add the following line to the extensions section:
`json`
{
...,
"system": {
...,
"extensions": [
...,
{
"name": "s3_file_storage",
"resolve": "node_modules/@evershop/s3_file_storage",
"enabled": true,
"priority": 10
}
]
}
}
Edit the .env file:
`bash`
AWS_ACCESS_KEY_ID="
AWS_SECRET_ACCESS_KEY="
AWS_REGION="
AWS_BUCKET_NAME="
Edit the config/default.json file in the root directory of your EverShop installation and add the following line to the file_storage section:
`json`
{
...,
"system": {
...,
"file_storage": "s3"
}
}
`bash``
npm run build