refinery/refinerycms

GitHub: refinery/refinerycms

Refinery CMS 是一个面向最终用户的 Ruby on Rails 开源内容管理系统,旨在简化网站内容管理流程。

Stars: 3910 | Forks: 1234

# Refinery CMS __一个适用于 Rails 6.1+ 至 8.1+ 的开源内容管理系统__ 您可以将一个示例应用部署到 Heroku: [![部署](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/refinery/refinerycms-example-app) 请注意,本 README 中部分文档已过时,且我们的网站目前处于离线状态。请参考我们的 [GitHub 仓库](https://github.com/refinery/refinerycms) 了解最新状态和说明。指南可在 [doc/guides](https://github.com/refinery/refinerycms/tree/main/doc/guides) 文件夹中找到。 ## 环境要求 * [Bundler](https://bundler.io/) * [ImageMagick](https://imagemagick.org/script/install-source.php) * :warning: 警告:ImageMagick 目前存在一个严重的安全漏洞,CVE-2016-3714。安装后,您必须在 ImageMagick 的策略配置中禁用某些功能。详情请参见: * https://imagetragick.com/ * Mac OS X 用户应使用 [homebrew](https://github.com/mxcl/homebrew/wiki/installation) 的 `brew install imagemagick` 或 [magick-installer](https://github.com/maddox/magick-installer)。 ## 操作指南 * __[安装 Refinery CMS](https://www.refinerycms.com/download)__ * [在 Heroku 上安装 Refinery CMS](https://github.com/refinery/refinerycms/blob/main/doc/guides/7%20-%20Hosting%20and%20Deployment/1%20-%20Heroku.md) * [为 Refinery CMS 贡献代码](readme.md#contributing) ## 入门指南 如果您是 Refinery 新手,请从这个指南开始: * __[入门指南](https://github.com/refinery/refinerycms/tree/main/doc/guides/1%20-%20Getting%20Started)__ ``` rails new app_name -m https://www.refinerycms.com/t/4.0.0 ``` ``` rails new app_name -m https://www.refinerycms.com/t/3.0.6 ``` 您也可以使用以下模板安装 `edge` 版本以获取最新代码: ``` rails new app_name -m https://www.refinerycms.com/t/edge ``` ## 它擅长什么? __Refinery 非常适合那些客户需要能够自己更新网站内容,而又不希望被过于复杂的功能所困扰的网站。__ 与其他内容管理系统不同,Refinery 真正 __面向最终用户__,使他们能够轻松上手并自行进行修改。 ### 对于开发者 * 轻松定制外观以适应业务需求。 * __通过自定义扩展进行扩展__,以实现 Refinery 未提供的任何功能。 * 尽可能遵循 __"Rails 方式"__;我们不会强迫您学习新的模板语言。 * 目前使用 [jQuery](http://jquery.com/),以实现快速简洁的 JavaScript。 ## 帮助与文档 * [入门指南](https://github.com/refinery/refinerycms/tree/main/doc/guides/1%20-%20Getting%20Started) * [Google Group 讨论组](https://groups.google.com/g/refinery-cms) * [GitHub 仓库](https://github.com/refinery/refinerycms) * [开发者/API 文档](http://rubydoc.info/github/refinery/refinerycms) * [Twitter 账号](https://twitter.com/refinerycms) ## 功能特性 ### 页面管理 * 使用可视编辑器轻松编辑和管理页面。 * 管理您网站的结构。 ### 图像与文件 * 轻松上传和插入图像。 * 上传 PDF 文档等资源并创建链接。 * 使用流行的 [Dragonfly](https://github.com/markevans/dragonfly)。 * 支持在 Amazon S3 上存储。 ### 认证与用户 * 管理谁可以访问 Refinery。 * 控制每个用户可以访问哪些扩展模块。 * 使用流行的 [Devise](https://github.com/plataformatec/devise)。 ### 自定义扩展 通过运行 Refinery 扩展生成器轻松扩展 Refinery。 如需帮助,请不带任何选项运行该命令: ``` rails generate refinery:engine ``` ### 热门扩展 * [博客](https://github.com/refinery/refinerycms-blog) — 一个简单的博客扩展,支持文章、分类和评论,并提供可选的审核功能。 * [作品集](https://github.com/refinery/refinerycms-portfolio) — 像管理图片库一样管理图片组。 * [新闻](https://github.com/refinery/refinerycms-news) — 发布和管理新闻项目。 * [询问](https://github.com/refinery/refinerycms-inquiries) — 简单的联系表单,在收到询问时会通知您和客户。 [完整扩展列表在此](https://www.refinerycms.com/extensions) ### 示例网站展示 [列表在此 (完成后请添加您的链接)](https://github.com/refinery/refinerycms/wiki/Example-Site-Showcase) ## 许可证 Refinery CMS 基于 MIT 许可证发布。详情请参阅 [license.md 文件](license.md#readme)。
标签:Heroku, ImageMagick, Rails框架, Refinery CMS, Ruby on Rails, Syscall, Web开发, 内存转储, 内容管理系统, 安全配置, 开发指南, 开源, 批量扫描, 模板系统, 部署