Sha256: feffaaf4d2e6eabec0b1aeae619aec4f10f54ad1efa9bb28d9dcc71bd5a0e89b
Contents?: true
Size: 975 Bytes
Versions: 1
Compression:
Stored size: 975 Bytes
Contents
# Installation and Setup From within the directory containing your TrustyCMS instance: 1. Create a new Rails 7.0+ application (i.e. `rails new [project_name]`) 2. Add the following gems to your Gemfile: - gem 'trusty-cms' - gem 'rails-observers' 3. Run `bundle install` 4. Run the Trusty CMS generator to get the project into shape: `rails g trusty_cms [project_name]`. - This will ask you if you want to replace a number of existing files (like application.rb); reply Y to all. 5. Add `config.extensions = [ :snippets, :clipped, :layouts, :multi_site ]` to enable them in application.rb 6. Add `config.active_record.yaml_column_permitted_classes = [Symbol, Date, Time, ActiveSupport::TimeWithZone, ActiveSupport::TimeZone]` to application.rb. This is required for pages to save previous versions. 7. Add utf8 encoding to your db.yml 8. Run `bundle exec rake db:setup`, `bundle exec rake trusty_cms:install:migrations`, then `bundle exec rake db:bootstrap`.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
trusty-cms-7.0.8 | INSTALL.md |