{"id":13463009,"url":"https://github.com/comfy/comfortable-mexican-sofa","last_synced_at":"2025-04-25T14:43:19.705Z","repository":{"id":658568,"uuid":"1122534","full_name":"comfy/comfortable-mexican-sofa","owner":"comfy","description":"ComfortableMexicanSofa is a powerful Ruby on Rails 5.2+ CMS (Content Management System) Engine","archived":false,"fork":false,"pushed_at":"2024-05-27T03:59:34.000Z","size":10025,"stargazers_count":2723,"open_issues_count":53,"forks_count":629,"subscribers_count":74,"default_branch":"master","last_synced_at":"2025-04-24T08:01:58.187Z","etag":null,"topics":["cms","rails","rails-engine","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/comfy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-11-29T15:58:39.000Z","updated_at":"2025-04-24T00:50:23.000Z","dependencies_parsed_at":"2023-07-06T20:46:38.563Z","dependency_job_id":"15f5df3c-0419-43c5-bce8-6dd4426eae16","html_url":"https://github.com/comfy/comfortable-mexican-sofa","commit_stats":{"total_commits":2267,"total_committers":162,"mean_commits":"13.993827160493828","dds":0.5827084252315836,"last_synced_commit":"8f7e425a06aca9cfa8e21de6b7a10669c8495fc3"},"previous_names":[],"tags_count":162,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comfy%2Fcomfortable-mexican-sofa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comfy%2Fcomfortable-mexican-sofa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comfy%2Fcomfortable-mexican-sofa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comfy%2Fcomfortable-mexican-sofa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/comfy","download_url":"https://codeload.github.com/comfy/comfortable-mexican-sofa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250835584,"owners_count":21495188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cms","rails","rails-engine","ruby"],"created_at":"2024-07-31T13:00:43.897Z","updated_at":"2025-04-25T14:43:19.684Z","avatar_url":"https://github.com/comfy.png","language":"Ruby","funding_links":[],"categories":["Content Management \u0026 Blogging","Ruby","CMS","Happy Exploring 🤘"],"sub_categories":["Content Management"],"readme":"# ComfortableMexicanSofa\n\nComfortableMexicanSofa is a powerful Ruby on Rails 5.2+ CMS (Content Management System) Engine\n\n[![Gem Version](https://img.shields.io/gem/v/comfortable_mexican_sofa.svg?style=flat)](http://rubygems.org/gems/comfortable_mexican_sofa)\n[![Gem Downloads](https://img.shields.io/gem/dt/comfortable_mexican_sofa.svg?style=flat)](http://rubygems.org/gems/comfortable_mexican_sofa)\n[![Build Status](https://img.shields.io/travis/comfy/comfortable-mexican-sofa.svg?branch=master\u0026style=flat)](https://travis-ci.org/comfy/comfortable-mexican-sofa)\n[![Coverage Status](https://img.shields.io/coveralls/comfy/comfortable-mexican-sofa.svg?style=flat)](https://coveralls.io/r/comfy/comfortable-mexican-sofa?branch=master)\n[![Gitter](https://badges.gitter.im/comfy/comfortable-mexican-sofa.svg)](https://gitter.im/comfy/comfortable-mexican-sofa)\n\n## Features\n\n* Simple drop-in integration with Rails 5.2+ apps with minimal configuration\n* CMS stays away from the rest of your application\n* Powerful page templating capability using [Content Tags](https://github.com/comfy/comfortable-mexican-sofa/wiki/Docs:-Content-Tags)\n* [Multiple Sites](https://github.com/comfy/comfortable-mexican-sofa/wiki/Docs:-Sites) from a single installation\n* Multi-Language Support (i18n) (ca, cs, da, de, en, es, fi, fr, gr, hr, it, ja, nb, nl, pl, pt-BR, ru, sv, tr, uk, zh-CN, zh-TW) and page localization.\n* [CMS Seeds](https://github.com/comfy/comfortable-mexican-sofa/wiki/Docs:-CMS-Seeds) for initial content population\n* [Revision History](https://github.com/comfy/comfortable-mexican-sofa/wiki/Docs:-Revisions) to revert changes\n* [Extendable Admin Area](https://github.com/comfy/comfortable-mexican-sofa/wiki/HowTo:-Reusing-Admin-Area) built with [Bootstrap 4](http://getbootstrap.com) (responsive design). Using [CodeMirror](http://codemirror.net) for HTML and Markdown highlighing and [Redactor](http://imperavi.com/redactor) as the WYSIWYG editor.\n\n## Dependencies\n\n* File attachments are handled by [ActiveStorage](https://github.com/rails/rails/tree/master/activestorage). Make sure that you can run appropriate migrations by running: `rails active_storage:install`\n* Image resizing is done with with [ImageMagick](http://www.imagemagick.org/script/download.php), so make sure it's installed.\n* Pagination is handled by [kaminari](https://github.com/amatsuda/kaminari) or [will_paginate](https://github.com/mislav/will_paginate). Please add one of those to your Gemfile.\n\n## Installation\n\nAdd gem definition to your Gemfile:\n\n```ruby\ngem \"comfortable_mexican_sofa\", \"~\u003e 2.0.0\"\n```\n\nThen from the Rails project's root run:\n\n    bundle install\n    rails generate comfy:cms\n    rake db:migrate\n\nNow take a look inside your `config/routes.rb` file. You'll see where routes attach for the admin area and content serving. Make sure that content serving route appears as a very last item or it will make all other routes to be inaccessible.\n\n```ruby\ncomfy_route :cms_admin, path: \"/admin\"\ncomfy_route :cms, path: \"/\"\n```\n\n## Quick Start Guide\n\nAfter finishing installation you should be able to navigate to http://localhost:3000/admin\n\nDefault username and password is 'username' and 'password'. You probably want to change it right away. Admin credentials (among other things) can be found and changed in the cms initializer: [/config/initializers/comfortable\\_mexican\\_sofa.rb](https://github.com/comfy/comfortable-mexican-sofa/blob/master/config/initializers/comfortable_mexican_sofa.rb)\n\nBefore creating pages and populating them with content we need to create a Site. Site defines a hostname, content path and its language.\n\nAfter creating a Site, you need to make a Layout. Layout is the template of your pages; it defines some reusable content (like header and footer, for example) and places where the content goes. A very simple layout can look like this:\n\n```html\n\u003chtml\u003e\n  \u003cbody\u003e\n    \u003ch1\u003e{{ cms:text title }}\u003c/h1\u003e\n    {{ cms:wysiwyg content }}\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\nOnce you have a layout, you may start creating pages and populating content. It's that easy.\n\n## Documentation\n\nFor more information on how to use this CMS please refer to the [Wiki](https://github.com/comfy/comfortable-mexican-sofa/wiki). Section that might be of interest is the entry\non [Content Tags](https://github.com/comfy/comfortable-mexican-sofa/wiki/Docs:-Content-Tags).\n\n[Comfy Demo App](https://github.com/comfy/comfy-demo) also can be used as an\nexample of a default Rails app with CMS installed.\n\n## Add-ons\n\nIf you want to add a Blog functionality to your app take a look at\n[ComfyBlog](https://github.com/comfy/comfy-blog).\n\n![Admin Area Preview](doc/preview.jpg)\n\n#### Old Versions\n\nCMS for Rails 5.1 doesn't have published gem, but you may use [rails 5.1 branch](https://github.com/comfy/comfortable-mexican-sofa/tree/rails5.1) directly.\n\nIf you want to use CMS version 1.12 on Rails 5.2 use [1.13 branch](https://github.com/comfy/comfortable-mexican-sofa/tree/1.13) directly.\n\nWith Rails 4.2 and 5.0 use gem version [1.12.10](https://rubygems.org/gems/comfortable_mexican_sofa/versions/1.12.10)\n\nWith Rails 3.0 use gem version [1.8.5](https://rubygems.org/gems/comfortable_mexican_sofa/versions/1.8.5)\n\n[CHANGELOG](//github.com/comfy/comfortable-mexican-sofa/releases) is documented\nin Github releases.\n\n#### Contributing\n\nComfortableMexicanSofa repository can be ran like a regular Rails application in\ndevelopment environment. It's as easy to work on as any other Rails app out there.\nFor more detail take a look at [CONTRIBUTING](CONTRIBUTING.md)\n\n#### Help and Contact\n\nGitter: https://gitter.im/comfy/comfortable-mexican-sofa\n\nTwitter: [@GroceryBagHead](https://twitter.com/grocerybaghead)\n\n#### Acknowledgements\n\nThanks to [Roman Almeida](https://github.com/nasmorn) for contributing OEM License for [Redactor Text Editor](http://imperavi.com/redactor)\n\n---\n\nCopyright 2010-2019 Oleg Khabarov. Released under the [MIT license](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomfy%2Fcomfortable-mexican-sofa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomfy%2Fcomfortable-mexican-sofa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomfy%2Fcomfortable-mexican-sofa/lists"}