Samvera Hyrax is a digital repository system that helps organizations store, manage, and provide access to digital content. This tutorial will guide you through the process of installing Samvera Hyrax on Void Linux.
Before we begin, make sure that you have the following prerequisites installed on your system:
You can install these prerequisites using the following commands:
# Install Ruby and Node.js
xbps-install -S ruby nodejs
# Install Yarn
npm install --global yarn
# Install PostgreSQL
xbps-install -S postgresql-server
Now that we have the prerequisites installed, let's proceed with the installation of Samvera Hyrax.
Open your terminal and navigate to the directory where you want to install Samvera Hyrax.
Clone the Samvera Hyrax repository using the following command:
git clone https://github.com/samvera/hyrax.git
Navigate to the cloned repository using the following command:
cd hyrax
Install the required gems using the following command:
bundle install --deployment --without development test
Create the database and run the database migration using the following commands:
bundle exec rake db:create
bundle exec rake db:migrate
Load the default data using the following command:
bundle exec rake hyrax:default_admin_set:create
Now that Samvera Hyrax is installed, we can start the application.
Start the Rails server using the following command:
bundle exec rails server
Open your web browser and navigate to http://localhost:3000
. You should see the Samvera Hyrax splash page.
Congratulations! You have successfully installed Samvera Hyrax on Void Linux.
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!