Skip to content

How To Install Radiant Comments

sandipransing edited this page Sep 12, 2010 · 11 revisions

This is a very simple installation to get Radiant Comments up and running. It does not cover many of the features of Radiant Comments.

1. Type gem list to check versions of all required gems. Make sure you have:

  • sanitize 1.0.8 Note: to install a version of a gem, use gem install sanitize -v 1.0.8
  • will_paginate
  • fastercsv 1.2.3
  • Radiant 0.7.1 and up

2. From the Radiant root directory, run:

git clone git://github.com/artofmission/radiant-comments.git vendor/extensions/comments

3. Also from Radiant root, run:

rake radiant:extensions:comments:install

4. In config/environment.rb, make sure “:action_mailer” has been removed from config.frameworks -= [ :action_mailer ] (if it’s there)

5. In config/environment.rb, add config.gem "sanitize" and config.gem "will_paginate" to the initialization do loop.

6. Restart server

7. Add to layout,<r:snippet name="comments"/>.

8. In the Admin console, click on Pages, and enable each page individually for comments (Click enable on right)

Clone this wiki locally