diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2018-10-02 15:46:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-02 15:46:51 -0700 |
commit | 462af91c74b5e9d34388fec6156fbe02a8ef794e (patch) | |
tree | 1eefa09ed13b073b6309780a06061866f7291c30 | |
parent | 7bbddb01738cd8c2a3bda65d32f30ec5e386b4a9 (diff) | |
download | rails-462af91c74b5e9d34388fec6156fbe02a8ef794e.tar.gz rails-462af91c74b5e9d34388fec6156fbe02a8ef794e.tar.bz2 rails-462af91c74b5e9d34388fec6156fbe02a8ef794e.zip |
Now we add the npm dependency as part of the installer
-rw-r--r-- | README.md | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -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 |