- Ruby 2.6.3
- Hyrax 2.6.0
- Run locally
- Clone the git repo:
git clone git@github.com:UW-Libraries/oars.git
cd ./oars
- Install the required gems:
bundle install
- Create and migrate the development database:
bundle exec rails db:create db:migrate
- Create and migrate the test database:
RAILS_ENV=test bundle exec rails db:create db:migrate
- Install dependencies
yarn install
- Launch development instance of solr:
solr_wrapper
- Launch test instance of solr:
solr_wrapper --config config/solr_wrapper_test.yml
- Launch development instance of fedora:
fcrepo_wrapper
- Launch test instance of fedora:
fcrepo_wrapper --config config/fcrepo_wrapper_test.yml
- Launch a rails server:
bundle exec rails server
- Create the default admin set:
bundle exec rake hyrax:default_admin_set:create
- Create the default collection types:
bundle exec rake hyrax:default_collection_types:create
- Run the tests to ensure everything is working as expected:
rspec spec
- You should now be able to go to
http://localhost:3000
and see the application
- Clone the git repo: