All Projects → ButterCMS → Buttercms Rails

ButterCMS / Buttercms Rails

Licence: other
Rails SDK for ButterCMS (https://buttercms.com)

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Buttercms Rails

Spina
Spina CMS
Stars: ✭ 1,926 (+5402.86%)
Mutual labels:  cms, rails
Tolaria
A Rails CMS framework for making your editors happy.
Stars: ✭ 33 (-5.71%)
Mutual labels:  cms, rails
Property web builder
The ultimate Ruby on Rails engine for creating real estate websites ⛺
Stars: ✭ 414 (+1082.86%)
Mutual labels:  cms, rails
Binda
Headless CMS based on Ruby on Rails
Stars: ✭ 60 (+71.43%)
Mutual labels:  cms, rails
Comfortable Mexican Sofa
ComfortableMexicanSofa is a powerful Ruby on Rails 5.2+ CMS (Content Management System) Engine
Stars: ✭ 2,707 (+7634.29%)
Mutual labels:  cms, rails
Push type
PushType is a modern, open source content management system for Ruby on Rails.
Stars: ✭ 293 (+737.14%)
Mutual labels:  cms, rails
Fae
CMS for Rails. For Reals.
Stars: ✭ 701 (+1902.86%)
Mutual labels:  cms, rails
Kid O
Kid-O App helps children's aid Orgs keep an overview of their children.
Stars: ✭ 29 (-17.14%)
Mutual labels:  cms
Instagram Scheduler
📷 Beautiful way to get shadowbanned on Instagram by ⏰ scheduling your 🌁 photos.
Stars: ✭ 33 (-5.71%)
Mutual labels:  rails
Punchcard
The Punchcard CMS
Stars: ✭ 29 (-17.14%)
Mutual labels:  cms
Activeadmin trumbowyg
Trumbowyg Editor for ActiveAdmin
Stars: ✭ 29 (-17.14%)
Mutual labels:  rails
Nobibi Admin
Nobibi admin
Stars: ✭ 30 (-14.29%)
Mutual labels:  cms
Wmcore
Core workflow management components for CMS.
Stars: ✭ 34 (-2.86%)
Mutual labels:  cms
Render async
render_async lets you include pages asynchronously with AJAX
Stars: ✭ 974 (+2682.86%)
Mutual labels:  rails
Engineercms
工程师知识管理系统:基于golang go语言(beego框架)。每个行业都有自己的知识管理系统,engineercms旨在为土木工程师们打造一款适用的基于web的知识管理系统。它既可以用于管理个人的项目资料,也可以用于管理项目团队资料;它既可以运行于个人电脑,也可以放到服务器上。支持提取码分享文件,onlyoffice实时文档协作,直接在线编辑dwg文件、office文档,在线利用mindoc创作你的书籍,阅览PDF文件。通用的业务流程设置。手机端配套小程序,微信搜索“珠三角设代”或“青少儿书画”即可呼出小程序。
Stars: ✭ 958 (+2637.14%)
Mutual labels:  cms
Versionist
A plugin for versioning Rails based RESTful APIs.
Stars: ✭ 950 (+2614.29%)
Mutual labels:  rails
Ununiga
[은는이가] 한글 조사(助詞) 대응 I18n engine extension
Stars: ✭ 34 (-2.86%)
Mutual labels:  rails
Administrate Field Belongs to search
Plugin that adds search capabilities to belongs_to associations for Administrate
Stars: ✭ 29 (-17.14%)
Mutual labels:  rails
Citation
Citation is a new generation CMS merging ideas of: Headless / GraphQL, static site generation and JavaScript component pre-rendering
Stars: ✭ 31 (-11.43%)
Mutual labels:  cms
Autocms
AutoCms is a simple solution for your Meteor.js app
Stars: ✭ 34 (-2.86%)
Mutual labels:  cms

ButterCMS Rails SDK

The ButterCMS Rails SDK provides a generator that expedites setup of your blog.

Documentation

For a comprehensive list of examples and API docs, check out our documentation.

Installation

To get started, first install the gem by adding it to your Gemfile:

gem 'buttercms-rails'

After installing, run the genereator provided by the gem:

rails generate butter:install_blog

The generator creates an initializer file and default controllers and views:

|-- app
    |-- controllers
        |-- buttercms
            |-- authors_controller.rb
            |-- base_controller.rb
            |-- categories_controller.rb
            |-- feeds_controller.rb
            |-- posts_controller.rb
    |-- views
        |-- buttercms
            |-- authors
                |-- show.html.erb
            |-- categories
                |-- show.html.erb
            |-- posts
                |-- _post.html.erb
                |-- index.html.erb
                |-- show.html.erb
        |-- layouts
            |-- buttercms
                |-- default.html.erb

|-- config
    |-- initializers
        |-- buttercms.rb

It also adds routes to your routes.rb file:

  scope :module => 'buttercms' do
    get '/categories/:slug' => 'categories#show', :as => :buttercms_category
    get '/author/:slug' => 'authors#show', :as => :buttercms_author

    get '/blog/rss' => 'feeds#rss', :format => 'rss', :as => :buttercms_blog_rss
    get '/blog/atom' => 'feeds#atom', :format => 'atom', :as => :buttercms_blog_atom
    get '/blog/sitemap.xml' => 'feeds#sitemap', :format => 'xml', :as => :buttercms_blog_sitemap

    get '/blog(/page/:page)' => 'posts#index', :defaults => {:page => 1}, :as => :buttercms_blog
    get '/blog/:slug' => 'posts#show', :as => :buttercms_post
  end

After running the generator, set your API token in config/initializers/buttercms.rb and then start your server to view your blog.

Customization

Extending and customizing your blog is easy. The ButterCMS Rails SDK uses the ButterCMS Ruby API Client. Email [email protected] for help!

Fallback Data Store

The ButterCMS Ruby client supports automatic fallback to a data store when API requests fail. Learn more in the buttercms-ruby README.

Test mode

Test mode can be used to setup a staging website for previewing content or for testing content during local development. To fetch content from test mode add the following to your initializer:

ButterCMS::test_mode = true

Other

View Rails Blog engine and Full CMS for other examples of using ButterCMS with Rails.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].