mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge branch 'master' of github.com:basecamp/actiontext
This commit is contained in:
commit
d28ce034b5
1 changed files with 1 additions and 12 deletions
13
README.md
13
README.md
|
@ -14,18 +14,7 @@ Assumes a Rails 5.2+ application with Active Storage and Webpacker installed.
|
|||
gem "image_processing", "~> 1.2" # for Active Storage variants
|
||||
```
|
||||
|
||||
1. Install the npm package (with a local reference to this checked out repository):
|
||||
|
||||
```sh
|
||||
$ yarn add file:../actiontext
|
||||
```
|
||||
|
||||
```js
|
||||
// app/javascript/packs/application.js
|
||||
import "actiontext"
|
||||
```
|
||||
|
||||
1. Migrate the database
|
||||
1. Install assets, npm dependency, and migrations
|
||||
|
||||
```
|
||||
./bin/rails action_text:install
|
||||
|
|
Loading…
Reference in a new issue