Giter VIP home page Giter VIP logo

redmine_s3's Introduction

S3 plugin for Redmine

Description

This Redmine plugin makes file attachments be stored on “Amazon S3” rather than on the local filesystem.

Installation

  1. Make sure Redmine is installed and cd into its root directory

  2. Add the plugin to the Gemfile

  3. Configure S3 access (see below for options)

  4. Restart/upload to production/whatever

Configuration method: through ENV variables

This method should be preferred when using Heroku.

AWS_ACCESS_KEY_ID

Your AWS access key ID

AWS_SECRET_ACCESS_KEY

Duh, your AWS secret access key

AWS_S3_BUCKET

Bucket (and optional path prefix)

Configuration method: through YAML file

Use this method if you have no control over your environment variables.

  1. Copy GEM_ROOT/config/s3.yml.example to RAILS_ROOT/config/s3.yml

  2. Edit config/s3.yml with your favourite editor

Options

  • The bucket name can contain an optional path prefix, e.g. a setting of “foo/bar/baz” will upload attachments under “foo.s3.amazonaws.com/bar/baz/”.

  • Uploaded files are NOT public.

  • The bucket is NOT created upon startup if it doesn’t exist.

redmine_s3's People

Contributors

edavis10 avatar tigrish avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.