Sha256: 3a2893768aa2bf1beaf1963f7bed2a25224e84872341a7c9ce77e8fd15b631fc
Contents?: true
Size: 985 Bytes
Versions: 5
Compression:
Stored size: 985 Bytes
Contents
# CmPageBuilder::Rails This gem's purpose is to allow easy integration between the Commutatus react package cm-page-builder and any rails applications created by ## Usage To activate this module, add `include CmPageBuilder::Rails::HasCmContent` on top of any model file that should have an associated rich text field. ## Installation ```ruby gem 'react-rails', '~> 2.6.0' gem 'cm_page_builder-rails' ``` And then execute: ```bash $ bundle ``` Follow all react-rails installation instructions Then run `rails cm_page_builder_rails:install:migrations` In `config/routes.rb`, mount the endpoint with the line `mount CmPageBuilder::Rails::Engine => "/cm_page_builder"` ### Setting up CORS for aws Do this or the direct upload capabilities won't work https://keithpblog.org/post/active-storage-on-amazon-s3/ ## Contributing Contribution directions go here. ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
Version data entries
5 entries across 5 versions & 1 rubygems