An open source Ruby on Rails content management system for small business.
For more screenshots, example sites & high level information: http://refinerycms.com
What it's good at?
Refinery is great for small business sites where the client needs to be able to update their website themselves without being bombarded with anything too complicated.
Unlike other content managers, Refinery is truly aimed at the end user making it easy for them to pick up and make changes themselves.
- Allows you to get a small business site completed ridiculously quickly
- Easily Theme and customise the look to suit the business
- Extend with custom plugins to do anything Refinery doesn't do out of the box
- Sticks to "the Rails way" as much as possible. We don't force you to learn new templating languages.
Refinery runs using a number of gems which (as of Refinery version 0.9.5.29) are outlined below:
- rake >= 0.8.3
- friendly_id >= 2.3.2
- will_paginate >= 2.3.11
- rails >= 2.3.5
- aasm >= 2.1.3
- unicode >= 0.1
- hpricot >= 0.8.1
- slim_scrooge >= 1.0.5
Installing and Setting Up Refinery
1. Get the Refinery code
Install the Gem
gem install refinerycms refinery path/to/project
Or, clone Refinery's GIT repository
git clone git://github.com/resolve/refinerycms.git mynewsite.com cd ./mynewsite.com git remote rm origin git remote add origin firstname.lastname@example.org:you/yournewsite.git mv ./config/database.yml.example ./config/database.yml
config/database.yml to reflect your database server details.
Next create your database and fill it with Refinery's default data:
After your database exists, you'll need to install the gems that Refinery depends on. You can do this by running:
3. Starting up your site
Now visit http://localhost:3000 and your Refinery site should be running.
You will be prompted to setup your first user.
Help and Developer Documentation
Setting Up on Heroku or Using S3 for Storage
If you're using Heroku you will want to put
USE_S3_BACKEND = true
config/production.rb file to make Refinery store files uploaded on Amazon S3.
Updating to the latest Refinery
When using the gem
Simply run the command:
and the up-to-date core files will be copied from the latest gem into your project.
When using GIT
You can update by running these commands:
git remote add refinerycms git://github.com/resolve/refinerycms.git git pull refinerycms master
This will pull in all of the updated files in the project and may result in some merge conflicts which you will need to resolve.
What comes included with Refinery
- Easily edit and manage pages with a WYSIWYG visual editor
- Manage you site's structure
- Easily upload and insert images
- Upload and link to resources such as PDF documents
- Uses the popular attachment_fu Rails plugin
- Collect inquiries from a contact form
- Manage your inquiries and be notified when new ones come in
- Post news about your company and update your visitors
- Manage the behaviour of Refinery
- Easily integrate with Google Analytics
- Get an overview of what has been updated recently
- Manage who can access Refinery
- Control which plugins each user has access to
- Uses the popular RESTful authentication Rails plugin
- Customise Refinery to look exactly how you want
- The Rails Way: use regular Rails erb views, no templating languages here!
Extend Refinery easily by running the Refinery generator
ruby script/generate refinery
to get help on how to use that. Or read the full documentation on writing plugins for Refinery
Run the Tests
If you have installed Refinery using GIT (described above in step 1 of installing Refinery) then you'll be able to run the tests. At your Rails root run:
What about a portfolio?
Check out the portfolio plugin gem
Refinery is released under the MIT license and is copyright (c) 2005-2009 Resolve Digital Ltd.