Refinery CMS 0.9.8 + refinerycms-portfolio 0.9.8

10 views
Skip to first unread message

lgs

unread,
Sep 2, 2010, 3:38:53 PM9/2/10
to Refinery CMS
I just tried 0.9.8 on Rails 3.0 final and works fine. Now I would try
to get refinerycms-portfolio but 0.9.8 is not ready and 0.9.7
doesn't seems to work utill now. So, I tried to have git clone, branch
rails3 in place via submodule:

git submodule add http://github.com/resolve/refinerycms-portfolio.git
vendor/plugins/refinerycms-portfolio

then I checked out origin/rails3 branch (actual work in progress 0.9.8
I guess)

cd vendor/plugins/refinerycms-portfolio
git checkout -b rails3 origin/rails3

So I went on with 'bundle install' and 'rails generate portfolio' but
wen I run 'rake db:migrate' I get an error:

$ rake db:migrate
(in /home/myapp)
== AddMissingIndexes: migrating
==============================================
-- add_index(:pages, :parent_id)
rake aborted!
An error has occurred, this and all later migrations canceled:

SQLite3::SQLException: no such table: main.pages: CREATE INDEX
"index_pages_on_parent_id" ON "pages" ("parent_id")

Does you have any suggestion?
Thanks in advance
luca




Philip Arndt

unread,
Sep 2, 2010, 4:20:12 PM9/2/10
to refine...@googlegroups.com
Use your gemfile:

gem 'refinerycms-portfolio', :git => 'git://github.com/resolve/refinerycms-portfolio.git', :require => 'portfolio', :branch => 'rails3'

Plus looks like you need to run rake db:setup :)

> --
> You received this message because you are subscribed to the Google
> Groups "Refinery CMS" group.
> To post to this group, send email to refine...@googlegroups.com
> To unsubscribe from this group, send email to
> refinery-cms...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/refinery-cms?hl=en
>
> http://www.refinerycms.com

lgs

unread,
Sep 4, 2010, 4:26:02 AM9/4/10
to Refinery CMS

Thanks Philip, it works. I'll soon dig into config a photo gallery
with portfolio, my first time.

Do you suggest a tutorial to go first ?

I thought to go for this:

http://tutorials.refinerycms.org/tutorials/how-to-add-image-gallery-to-pages


Thanks in advance for any other suggestion/sample
Luca

Philip Arndt

unread,
Sep 4, 2010, 4:39:47 AM9/4/10
to refine...@googlegroups.com
Yes you could or you could use the portfolio as it is out of the box. Depends where you want it.

Reply all
Reply to author
Forward
0 new messages