Hyku using the CdmMigrator tool.
- Vagrant 2.1.x
- VirtualBox 5.2.x
- Chrome
- CPU: Core i5/Ryzen 5 or higher
- RAM: 8GB or higher
Windows users will need Powershell version 3 or higher
The Chrome browser is required because of its support for subdomains on localhost *.localhost
which Hyku Vagrant uses for repositories. Alternatively you can edit your hosts
file and add 127.0.0.1
to any *.localhost
domain.
Please note that the Hyrax stack can be resource-intensive and is not recommended for underpowered computers or on machines you intend to multi-task heavily with during your hyku testing.
git clone https://github.com/Bridge2Hyku/hyku-vagrant.git
cd hyku-vagrant
vagrant up
- Input ContentDM information during install
- Visit http://localhost:8080
- Visit http://localhost:8080/users/sign_up in your browser
- Create a new account
- Open a new terminal
cd hyku-vagrant
, or wherever you cloned hyku-vagrantvagrant ssh
cd /var/www/hyku
bundle exec rake hyku:superadmin:grant[[email protected]]
where[email protected]
is the email you registeredexit
- Visit http://localhost:8080 and log in as super admin
- Click "Get Started"
- Enter
example
for the "Short name" - Register for the new repository admin account
- Your new repository will be at http://example.localhost:8080
- Navigate to your repository http://example.localhost:8080/cdm_migrator/cdm/collection
- Map the ContentDM fields to the Hyku generic work
- Click "generate CSV"
- Navigate to your repository http://example.localhost:8080/cdm_migrator/csv/upload
- Upload your CSV
- Done
To stop vagrant run vagrant halt
. To remove hyku vagrant and the virtual machine run vagrant destroy
.
- Ubuntu 16.04 64-bit machine with:
If you need to view the status of jobs follow these steps to enable the Sidekiq interface:
cd hyku-vagrant
, or wherever your hyku-vagrant isvagrant ssh
nano /var/www/hyku/config/routes.rb
- Add the following lines to Line #2
require 'sidekiq/web'
mount Sidekiq::Web => '/sidekiq'
It should look something like this:
Rails.application.routes.draw do
require 'sidekiq/web'
mount Sidekiq::Web => '/sidekiq'
if Settings.multitenancy.enabled
- Hit
Ctrl-X
and theny
to save changes and exit sudo service apache2 restart
- Visit http://example.localhost:8080/sidekiq
Current maintainers:
Coming Soon...