Skip to content

Repository files navigation

Jesuit Online Necrology

Getting started

Install the database and load the

bundle install
bundle exec rake db:create
bundle exec rake db:migrate

Using bundled Solr

The solr_wrapper gem can install and manage solr and your core in development. The solr_wrapper handles installing a local solr and copying over the latest version of the solr configuration.

To install solr, build the core, and load data:

bundle exec solr_wrapper

Using your own Solr

The solr schema will frequently change, so if you are using your own solr install you will need to delete your solr core after pulling changes and restarting solr with the new configuration.

To use your own solr, add a new blacklight-core core.

solr create -c blacklight-core

Copy the following config files to the blacklight-core directory.

cp /path/to/project/jesuit-lives/solr/blacklight-core/conf/* /path/to/solr/8.8.1/server/solr/blacklight-core/conf/

Then restart solr.

solr restart

Testing and development data

Development user credentials and some standard data fields are in seeds.rb:

bundle exec rake db:seed:replant

Jesuit records are stored in db/import and imported with

bundle exec rake jlives:import_jesuits

Deploying

Deployment stages are:

  • sandbox - non-BC staging server, running full build
  • staging - (as yet unprovisioned) BC staging server
  • production - (as yet unprovisioned) BC production server

To deploy to sandbox:

ssh-add
bundle exec cap sandbox deploy

To restart the sandbox Rails server:

ssh-add
bundle exec cap sandbox deploy:restart

About

Blacklight instance for Jesuit Lives project

Resources

Stars

1 star

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages