1. I have RefineryCMS installed and running on my localhost. The GIT
repository is hosted at Unfuddle.
2. I then run:
heroku create
git push heroku master
3. The app seems to install successfully on Heroku. But when I go to
the referenced Heroku site I get the "We're Sorry, but something went
wrong" message. For good measure I also check
http://site.heroku.com/refinery/
and
http://site.heroku.com/refinery/dashboard - same result.
4. I view logs with Heroku Logs. There I find the following errors:
.
.
.
ActiveRecord::StatementInvalid (PGError: ERROR: relation
"page_translations" does not exist
.
.
.
ActiveRecord::StatementInvalid (PGError: ERROR: relation "roles" does
not exist
.
.
.
5. Thinking that something failed in the db migration process I run
heroku rake db:migrate
6. Now I am able to get RefineryCMS's "There are no users yet, so we''
set you up first" message. I successfully create the first admin user
and can view the refinery dashboard.
7. The Dashboard, Files, Images, Settings and Users tabs now work.
However the Pages module displays the "were sorry but something..."
message, as does the root site.
8. Looking at Heroku Logs again I discover
.
.
.
ActionView::Template::Error (undefined method `meta_keywords' for
#<Page::Translation:0x7f38f5ae7830>):
2011-05-15T21:18:40+00:00 app[web.1]: 1: <ul id='sortable_list'>
.
.
.
ActionView::Template::Error (undefined method `browser_title' for
#<Page::Translation:0x7f38f5e1e300>):
9. I'm guessing that the "default" pages normally created by
RefineryCMS were not created, and I need to define some content for
these pages. However I don't know how to do that via the CLI on the
Heroku hosted app.
Any suggestions or recommendations?
Thanks in advance.
Chris