Samvera Hyrax is an open-source digital repository platform designed for institutions to manage and publish digital assets. In this tutorial, we will demonstrate how to install Samvera Hyrax on Windows 10.
Before we begin, make sure you have the following requirements:
To install Ruby, follow these steps:
Download the Ruby 2.6.6 installer from the Ruby website: https://rubyinstaller.org/downloads/
Select the appropriate platform for your system architecture and follow the installation instructions.
During the installation process, make sure to select the option to install the Development Kit.
To install Rails, follow these steps:
gem install rails -v 5.2.4.1
To install Git, follow these steps:
Download the Git installer from the Git website: https://git-scm.com/downloads
Select the appropriate platform for your system architecture and follow the installation instructions.
To install Node.js and Yarn, follow these steps:
Download the Node.js installer from the Node.js website: https://nodejs.org/en/download/
Select the appropriate platform for your system architecture and follow the installation instructions.
Download the Yarn installer from the Yarn website: https://classic.yarnpkg.com/en/docs/install/
Select the appropriate platform for your system architecture and follow the installation instructions.
To clone the Samvera Hyrax repository, follow these steps:
Open a command prompt and navigate to the directory where you want to install Samvera Hyrax.
Clone the repository by running the following command:
git clone https://github.com/samvera/hyrax.git
To install the dependencies for Samvera Hyrax, follow these steps:
Navigate to the directory where Samvera Hyrax is installed.
Run the following command to install the dependencies:
bundle install
Wait for the installation to complete.
Run the following command to install JavaScript dependencies:
yarn install
To initialize the database for Samvera Hyrax, follow these steps:
Navigate to the directory where Samvera Hyrax is installed.
Run the following commands to create the database:
rake db:create
rake db:migrate
To start the server for Samvera Hyrax, follow these steps:
Navigate to the directory where Samvera Hyrax is installed.
Run the following command to start the server:
rails server
Wait for the server to start.
Open your web browser and navigate to http://localhost:3000/
You should now be able to access the Samvera Hyrax application.
Congratulations! You have successfully installed Samvera Hyrax on Windows 10.
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!