- Upload the bulk files on S3 Bucket.
- Upload the exact file structure to the S3.
- Upload files in your chosen folder on S3.
- Node.js should be installed
- NPM should be installed
- You should have an AWS account with the Access key, Secret key and S3 bucket should be already created.
- You have a basic idea about scripting in Node.js
- Clone the repository.
- Open the Terminal and navigate to the cloned repository.
- Copy the content of .env.example file into a new file which is .env and update correct details in .env.
- Run
npm install
- Run
node scripts/upload.js
- Follow the instructions visible to Terminal.
- See the Terminal for the logs, or check the logs/error.log or logs/info.log file for logs
- Provide the URL of each file in logs.
- Add a feature to check if the uploaded URL is valid and it's working properly and generate the logs based on that.
- Add support to export this script as a node js global module.