This application will be deployed to curate.nd.edu.
Its primary function is to be a self-deposit interface for our institutional digital repository.
Note: If using Docker, see README_DOCKER.md for instructions.
Installing the clamav gem on OS X is a trying process. It can be safely excluded from your development environment
bundle install --without headless
bundle exec rake curatend:jetty:start
To execute the full test suite, run
bundle exec rake
To run individual specs, run
bundle exec rspec spec/path/to/file_spec.rb
The deposit page shows only the curation concern types that you are authorized to create. These options are generated from /config/work_type_policy_rules.yml.
Certain curation concern types are never created interactively:
- ETDs are now created only via Sipity. (However, they can be authorized through the work_type_policy_rules for local testing.)
- OSF Archives are imported via an option on the deposit menu.
Before you start the web-server you'll need to make sure Fedora and SOLR are running.
Start Fedora and SOLR via jetty:
bundle exec rake curatend:jetty:start
Start MySQL:
mysql.server start
Load the database schema into MySQL:
bundle exec rake db:drop db:create db:schema:load
Seed the database with authority groups to give yourself access to the app:
bundle exec rake db:seed
Optional: seed database with sample data:
bundle exec rake db:seed:dev
In most cases, you will need SSL, so use this command:
bin/rails s
You will need to go to http://localhost:3000
(yes HTTP, not HTTPS even though SSL is running. Its a new Rails behavior)
See the release documentation for building a release.
Testing specs for curate.nd.edu run with BrowserStack open source program