Using a Refinery CMS extension as a standalone extension in your Rails Application
A Refinery CMS extension can be used as a standalone extension in your Rails application.
This guide will show you how to:
- Bootstrap a rails application with just the use of a Refinery CMS extension like
Bootstrap a rails app with just the use of a Refinery CMS extension like
First, bootstrap a new rails application:
$ rails _4.2.6_ new blog_test_app
Put just the
refinerycms-blog in your project's Gemfile:
gem "refinerycms-blog", git: "https://github.com/refinery/refinerycms-blog"
This will merely pull in
refinerycms-settings based on the current gemspec dependencies.
Then you can run:
And all the other normal set up tasks like migrations.
Now, you should have a Rails app with only the Refinery CMS Blog.
Finally, start your application and enjoy the use of Refinery CMS Blog only:
$ rails server