Skip to content

Commit

Permalink
Update the README, acts_as_commentable will load through bundler and …
Browse files Browse the repository at this point in the history
…some touchups to the migration tasks

Signed-off-by: Chris Boertien <[email protected]>
  • Loading branch information
Cluster444 committed Nov 23, 2011
1 parent bf9ca17 commit a33693f
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ object (i.e. Order, Shipment, etc) via the admin Configuration tab.
This is based on a fork / rename of jderrett/spree-order-comments and is now an officially
supported extension.

Requirements:

* [acts\_as\_commentable](http://github.com/jackdempsey/acts_as_commentable) installed

Notes:

* Comments are create-only. You cannot edit or remove them from the Admin UI.
Expand All @@ -24,20 +20,23 @@ Installation
Add the following to your Gemfile

gem "spree_comments"
gem "acts_as_commentable"

Run:

bundle install

Copy over migrations via the rake task:

bundle exec rake railties:install:migrations FROM=spree_comments
bundle exec rake spree_comments:install:migrations

Run the migrations:
Run the migrations

bundle exec rake db:migrate

Or you can also run them together and save a little loading time

bundle exec rake spree_comments:install:migrations db:migrate

Start your server:

rails s

0 comments on commit a33693f

Please sign in to comment.