Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
Rails.cache.delete("RoleMapHash")
Admin::Group.all
g = Admin::Group.find('administrator')
g.users += ["archivist1@example.com"]
g.save!

 

Migrate Fedora Objects

Code Block
# SSH tunnel or open up your fedora3 server to your new Avalon app: ssh -L 9999:localhost:8983 user@fedora3.host
# Setup config/fedora3.yml in your Avalon 6 app (url will be http://localhost:9999/fedora)
bundle exec rake avalon:migrate:repo
#Review output and fix/rerun it

...