Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Edited README.textile via GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
jasondew committed May 5, 2011
1 parent 3d3aa94 commit 8498662
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.textile
Expand Up @@ -182,7 +182,11 @@ You bet. The Rails 3 specific gem only makes installation and setup easier. Her
* install it as a plugin <code>script/plugin install git://github.com/nathancolgate/s3-swf-upload-plugin.git</code>
* copy the "template files":http://github.com/nathancolgate/s3-swf-upload-plugin/tree/master/lib/s3_swf_upload/railties/generators/uploader/templates/ into your application (use the "generator":http://github.com/nathancolgate/s3-swf-upload-plugin/blob/master/lib/s3_swf_upload/railties/generators/uploader/uploader_generator.rb as a road map)
* copy the "view helpers":http://github.com/nathancolgate/s3-swf-upload-plugin/blob/master/lib/s3_swf_upload/view_helpers.rb into your applications <code>/lib</code> directory.
* add the view helper to an initialization file: <code>require 'view_helpers'</code>
* add the view helper and integer monkey patch to an initialization file:
<code>
require 'view_helpers'
require 'patch/integer'
</code>
* load the config file by adding this to the bottom of your environment.rb file: <code>S3SwfUpload::S3Config.load_config</code>
* replace references to Rails.root or Rails.env in the <code>/vendor/plugins/s3-swf-upload-plugin/lib/s3_swf_upload/s3_config.rb</code> file.
* comment out the require railties inside <code>/vendor/plugins/s3-swf-upload-plugin/lib/s3_swf_upload.rb</code>
Expand Down

0 comments on commit 8498662

Please sign in to comment.