Home

Awesome

To install:

sudo gem install refinerycms
git clone git@github.com:naumov/refinery_with_users.git
cd refinery_with_users
edit config/database.yml
rake db:setup
rake db:migrate
ruby script/server

Navigate to localhost:3000

Access to admin area:

http://localhost:3000/admin login: admin password: admin

You can set page as private or public while editing a page. Set Public to Yes/No. Private is default to all pages.

Refinery CMS

An open source Ruby on Rails content management system for small business.

Demo Site

For more screenshots, example sites & high level information: http://refinerycms.com

Refinery Dashboard

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.

For developers

Requirements

Refinery's gem requirements are:

Other dependancies

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 git@github.com:you/yournewsite.git
mv ./config/database.yml.example ./config/database.yml

2. Configuration

Firstly, edit config/database.yml to reflect your database server details.

Next create your database and fill it with Refinery's default data:

rake db:setup

After your database exists, you'll need to install the gems that Refinery depends on. You can do this by running:

rake gems:install

As of version 0.9.6.21, the news engine was extracted into a separate gem. This is included by default in config/application.rb If you don't want this engine on your site, just remove the config.gem line for it in config/application.rb If you do want it, please run the following commands to get it up and running:

script/generate news
rake db:migrate

Now, news should be up and running.

3. Starting up your site

ruby script/server

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

Refinery.s3_backend = true

in your 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:

refinery-update-core path/to/project/root/

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

Pages

Images & Resources

Inquiries

News

Settings

Dashboard

Authentication & Users

Themes

...Want more? Extend with Plugins

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:

rake test

What about a portfolio?

Check out the portfolio plugin gem

License

Refinery is released under the MIT license and is copyright (c) 2005-2009 Resolve Digital Ltd.

Read the license