This Redmine plugin makes file attachments be stored on Amazon S3 rather than on the local filesystem. This is a fork for original gem and difference is that this one supports RedMica 1.0.x and later(compatible with Redmine 4.1.x and later)
- Make sure Redmine is installed and cd into it's root directory
git clone https://github.com/redmica/redmica_s3.git plugins/redmica_s3
cp plugins/redmica_s3/config/s3.yml.example config/s3.yml
- Edit config/s3.yml with your favourite editor
bundle install --without development test
for installing this plugin dependencies (if you already did it, doing abundle install
again would do no harm)- Restart web server/upload to production/whatever
- Optional: Run
rake redmica_s3:files_to_s3
to upload files in your files folder to s3
- The bucket specified in s3.yml will be created automatically when the plugin is loaded (this is generally when the server starts).
- access_key_id: string key (required)
- secret_access_key: string key (required)
- bucket: string bucket name (required)
- folder: string folder name inside bucket (for example: 'attachments')
- endpoint: string endpoint instead of s3.amazonaws.com
- region: string aws region (activate when endpoint is not set)
- thumb_folder: string folder where attachment thumbnails are stored; defaults to 'tmp'
- import_folder: string folder where import files are stored temporarily; defaults to 'tmp'
This plugin is released under the MIT License.