Skip to content

Instantly share code, notes, and snippets.

@jcoyne
Created February 15, 2016 20:20
Show Gist options
  • Save jcoyne/166cefa9d917877dc2d0 to your computer and use it in GitHub Desktop.
Save jcoyne/166cefa9d917877dc2d0 to your computer and use it in GitHub Desktop.
require 'fcrepo_wrapper'
require 'solr_wrapper'
namespace :active_fedora do
desc "Start a solr, fedora and rails instance"
task :server do
with_server('development',
fcrepo_port: ENV.fetch('FCREPO_PORT', '8984'),
solr_port: ENV.fetch('SOLR_PORT', '8983')) do
`rails server`
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment