Samvera Hyrax is a Ruby on Rails-based digital repository system used by many academic, cultural, and scientific institutions worldwide. In this tutorial, we will guide you through the installation process of Samvera Hyrax on Fedora Server Latest.
Before starting with the installation process, you should ensure that your system meets the following prerequisites:
First, clone the Samvera Hyrax repository from the GitHub:
$ git clone https://github.com/samvera/hyrax.git
Once the repository is cloned, navigate to the Hyrax directory:
$ cd hyrax
Next, install the necessary dependencies by running the following command:
$ bundle install --deployment --without development test
Configure the database by creating a configuration file:
$ cp config/database.yml.example config/database.yml
Then, modify the configuration file to suit your PostgreSQL database:
$ nano config/database.yml
Create the database and run the migrations by running the following commands:
$ rake db:create
$ rake db:migrate
Finally, start the Samvera Hyrax application:
$ rails server
And in another terminal:
$ bundle exec sidekiq
You can access the application at http://localhost:3000
.
Congratulations! You have successfully installed Samvera Hyrax on Fedora Server Latest.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!