Skip to content

Migration Notes from 5.x to 6.x

Hector edited this page Mar 20, 2015 · 21 revisions

Prerequisites

Make sure you have a running version of Fedora 4. In these instructions we assume that Fedora 4 is running at http://127.0.0.1:8983/fedora/rest

Upgrading your app

  • Update your Gemfile to point to the new Sufia
  • Update your Gemfile to point to rails 4.2.1 (Is this needed?)
  • Run bundle install
  • bundle update rails (Is this needed?)
  • Update your config/initializers/resque_config.rb to use the new redis_namespace setting. This setting replaces the old id_namespace.
  Resque.redis.namespace = "#{Sufia.config.redis_namespace}:#{Rails.env}"
  • Update config/fedora.yml to include the proper URL for Fedora 4 (don't forget the /rest at the end) and add a new setting base_path A typical development section would look as follows:
  development:
    user: fedoraAdmin
    password: fedoraAdmin
    url: http://127.0.0.1:8983/fedora/rest
    base_path: /dev
  • Do we need to add gem 'rsolr', '~> 1.0.6' to the Gemfile (?)

What's next

[Insert here link to steps to migrate data from Fedora 3 to Fedora 4]

Jetty.

Should we add steps to start Fedora 4? rake jetty:stop rake jetty:clean rake jetty:download rake jetty:start