aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2017-08-01 16:28:05 -0500
committerDavid Heinemeier Hansson <david@loudthinking.com>2017-08-01 16:28:05 -0500
commitb807b5b7e84ad56075c641222cbe8dae6a9889f0 (patch)
tree40312d9c061082789e3bbfd6b91483504e6be2a2 /activestorage
parentc622e532fc361ad9072840d1c0ab0091bc43d61a (diff)
downloadrails-b807b5b7e84ad56075c641222cbe8dae6a9889f0.tar.gz
rails-b807b5b7e84ad56075c641222cbe8dae6a9889f0.tar.bz2
rails-b807b5b7e84ad56075c641222cbe8dae6a9889f0.zip
Cut down on installation advice
Diffstat (limited to 'activestorage')
-rw-r--r--activestorage/README.md12
1 files changed, 4 insertions, 8 deletions
diff --git a/activestorage/README.md b/activestorage/README.md
index f876ba35e8..7893759653 100644
--- a/activestorage/README.md
+++ b/activestorage/README.md
@@ -87,14 +87,10 @@ Variation of image attachment:
## Installation
-1. Add `gem "activestorage", git: "https://github.com/rails/activestorage.git"` to your Gemfile.
-2. Add `require "active_storage"` to config/application.rb, after `require "rails/all"` line.
-3. Run `rails activestorage:install` to create needed directories, migrations, and configuration.
-4. Configure the storage service in `config/environments/*` with `config.active_storage.service = :local`
- that references the services configured in `config/storage.yml`.
-5. Optional: Add `gem "aws-sdk", "~> 2"` to your Gemfile if you want to use AWS S3.
-6. Optional: Add `gem "google-cloud-storage", "~> 1.3"` to your Gemfile if you want to use Google Cloud Storage.
-7. Optional: Add `gem "mini_magick"` to your Gemfile if you want to use variants.
+1. Run `rails activestorage:install` to create needed directories, migrations, and configuration.
+2. Optional: Add `gem "aws-sdk", "~> 2"` to your Gemfile if you want to use AWS S3.
+3. Optional: Add `gem "google-cloud-storage", "~> 1.3"` to your Gemfile if you want to use Google Cloud Storage.
+4. Optional: Add `gem "mini_magick"` to your Gemfile if you want to use variants.
## Direct uploads