提交 986a71d2 编写于 作者: D Dino Maric 提交者: David Heinemeier Hansson

Add instruction to install the gem from the master (#65)

上级 32331b19
......@@ -65,9 +65,10 @@ end
## Installation
1. Add `require "active_storage"` to config/application.rb, after `require "rails/all"` line.
2. Run `rails activestorage:install` to create needed directories, migrations, and configuration.
3. Configure the storage service in `config/environments/*` with `config.active_storage.service = :local`
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_services.yml`.
## Todos
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册