Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Since Hyku is based on Hyrax, development of Hyku tends to follow the same practices and use the same tools as Hyrax. A good starting point would be to review the Sufia Hyrax Development Guide (will be moved to Hyrax wiki in the coming weeks) and the Hyrax README. These will give you an idea of what tools and dependencies you'll need installed and help you get started running the test suite. Note that there are differences between working with a Rails engine like Hyrax and working with an application like Hyku.

...

  1. First, start up Solr and Fedora per the Sufia Hyrax Development Guide (soon to be moved to Hyrax wiki). Keep in mind they both should be running on different ports than you normally use for development:
    1. Start Solr on port 8985 for testing, for example: solr_wrapper -v -d solr/config/ -n hydra-test -p 8985
    2. Start Fedora on port 8986 for testing, for example: fcrepo_wrapper -v -p 8986 --no-jms
  2. Then you should be able to run the test suite.
    1. For example, to run all tests use: rake spec

...