-
Notifications
You must be signed in to change notification settings - Fork 49
Hyku Development Guide
Joe Atzberger edited this page May 3, 2017
·
15 revisions
Obviously, you must have completed the installation Hyrax prerequisites, including PhantomJS.
The default wrapper configs are for development, but testing will expect solr and fedora on different ports. You will need at least 7 processes in background or their own windows/tabs to accomplish a successful test run:
solr_wrapper -v --config config/solr_wrapper_test.yml
fcrepo_wrapper -v --config config/fcrepo_wrapper_test.yml
postgres -D ./db/postgres
redis-server /usr/local/etc/redis.conf
DISABLE_REDIS_CLUSTER=true bundle exec sidekiq
DISABLE_REDIS_CLUSTER=true RAILS_ENV=test bundle exec rails server -b 0.0.0.0
bundle exec rake spec
On Debian/Ubunutu, the redis and postgress steps might look like:
[sudo] service postgresql status
[sudo] service redis status
- the Sufia Development Guide for more background.