This repository has been archived by the owner on Nov 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Sufia 7 Development
Adam Wead edited this page Apr 5, 2016
·
1 revision
These now use the wrapper gems solr_wrapper
and fcrepo_wrapper
. In order to make local development and testing easier to handle, there are two rake tasks that will start these up using our locally configured options:
bundle exec rake solr:start
bundle exec rake fcrepo:start
This will enable you to run the application in development and run your tests at the same time. When running tests this way, you'll use rspec directly, ex:
bundle exec rspec spec/[etc]
When running the test suite on Travis, it will use the with_test_server
option that is provided by Hydra. This spins up both Hydra and Solr on default ports when the continuous integration tests are being run. If you want to run the CI task, you'll probably have to shutdown any instance of jetty that are running before running ci:
killall java
bundle exec rake scholarsphere:travis:unit
bundle exec rake scholarsphere:travis:feature