Skip to content

Commit

Permalink
cleanup and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cristi committed Oct 15, 2009
1 parent aa71414 commit b9d561b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
20 changes: 12 additions & 8 deletions README.md
Expand Up @@ -25,27 +25,23 @@ Tiny-Paper Extension has two dependencies, the Paperclipped extension and the wi

Install the [Paperclipped Extension][paperclipped]

git submodule add git://github.com/kbingman/paperclipped.git\
vendor/extensions/paperclipped
git clone git://github.com/kbingman/paperclipped.git vendor/extensions/paperclipped

And the will\_paginate gem/plugin:

git submodule add git://github.com/mislav/will_paginate.git\
vendor/plugins/will_paginate
git clone git://github.com/mislav/will_paginate.git vendor/plugins/will_paginate

or

sudo gem install mislav-will_paginate

You may also want to install the [Settings Extension][settings] since it provides a very convenient way to configure thumbnail sizes for image assets:

git submodule add git://github.com/Squeegy/radiant-settings.git\
vendor/extensions/settings
git clone git://github.com/Squeegy/radiant-settings.git vendor/extensions/settings

Finally, install the [Tiny-Paper Extension][tp]

git submodule add git://github.com/Aissac/radiant-tiny-paper-extension.git\
vendor/extensions/tiny_paper
git clone git://github.com/Aissac/radiant-tiny-paper-extension.git vendor/extensions/tiny_paper

For more information about installing and configuring Settings and Paperclipped check the extensions official pages.

Expand All @@ -63,6 +59,14 @@ The last step is to update the Tiny-Paper assets:

rake radiant:extensions:tiny_paper:update

###Note

The git branches hold stable versions of the extension for older version of Radiant CMS. To checkout one of these branches:

git clone git://github.com/Aissac/radiant-tiny-paper-extension.git vendor/extensions/tiny_paper
cd vendor/extensions/tiny_paper
git checkout -b <branch-name> origin/<remote-branch-name>

Usage
---

Expand Down
4 changes: 2 additions & 2 deletions lib/tasks/tiny_paper_extension_tasks.rake
Expand Up @@ -14,8 +14,8 @@ namespace :radiant do
Dir[TinyPaperExtension.root + "/public/**/*"].reject(&is_svn_or_dir).each do |file|
path = file.sub(TinyPaperExtension.root, '')
directory = File.dirname(path)
mkdir_p RAILS_ROOT + directory
cp file, RAILS_ROOT + path
mkdir_p RAILS_ROOT + directory, :verbose => false
cp file, RAILS_ROOT + path, :verbose => false
end
end
end
Expand Down
1 change: 0 additions & 1 deletion tiny_paper_extension.rb
@@ -1,4 +1,3 @@
# Uncomment this if you reference any of your controllers in activate
require_dependency 'application_controller'

class TinyPaperExtension < Radiant::Extension
Expand Down

0 comments on commit b9d561b

Please sign in to comment.