Versions Compared

Key

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

...

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

 

Migrate Fedora Objects

SSH

...

tunnel or open up your fedora3 server to your new Avalon app:

Code Block
#port 9999 stands for your local mirror of your fedora3

...

.host:8983 import source
#if 9999 doesn't work, try another port nearby
ssh -L 9999:localhost:8983 user@fedora3.host

...

Code Block
# 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

...