- Open Terminal 1
cd /path/to/hyrax
rake engine_cart:regenerate
-- Rebuild the internal app; May not be necessary- Terminal 1:
rake engine_cart:server
-- Analogue tocd .internal_test_app; rails s
- Open Terminal 2
cd cd /path/to/hyrax
fcrepo_wrapper -v -p 8984 --no-jms
- Open Terminal 3
cd cd /path/to/hyrax
solr_wrapper -v -d solr/config/ -n hydra-development -p 8983
Last active
December 19, 2017 20:14
-
-
Save jeremyf/19673500dd1759c41aaecccc805e96fc to your computer and use it in GitHub Desktop.
Script to run the internal app of Hyrax (and thus ease testing a bit)
If you want to run Hyrax individual tests:
- Open Terminal 1
cd /path/to/hyrax
fcrepo_wrapper -v -p 8986 --no-jms
- Open Terminal 2
cd /path/to/hyrax
solr_wrapper -v -d solr/config/ -n hydra-test -p 8985
# You may need to runsolr_wrapper clean
- Open Terminal 3
cd /path/to/hyrax
rspec path/to/spec.rb
Just a note that solr now needs to be run within the internal_app directory, not just within the hyrax directory
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is similar to the Sufia Developer Documentation but concise and therefore helpful.