Skip to content

Latest commit

 

History

1,482 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pulmap

GeoBlacklight for Princeton University Library

CircleCI Coverage

Initial Setup

git clone https://github.com/pulibrary/pulmap.git
cd pulmap
bundle install
yarn install

Setup server

  1. Install Lando DMG from https://github.com/lando/lando/releases
  2. To start: bundle exec rake servers:start
  3. For test:
    • bundle exec rspec
  4. For development:
  5. To stop: bundle exec rake servers:stop or lando stop

Deployment

You can deploy to Nomad from the command line:

BRANCH=branch_name ./bin/deploy staging
./bin/deploy production

Reindex from figgy

The reindex is triggered on the figgy side.

Production

$ ssh deploy@figgy-worker-prod1
$ tmux new -t [yourname]
$ cd /opt/figgy/current
$ BULK=true bundle exec rails c
> GeoResourceReindexer.reindex_geoblacklight

Staging

$ ssh deploy@figgy-web-staging1
$ tmux new -t [yourname]
$ cd /opt/figgy/current
$ BULK=true bundle exec rails c
> GeoResourceReindexer.reindex_geoblacklight

It takes a few minutes to get all the complete georesources. Then it invokes the updated event on each, which sends them to rabbitmq.

Then you'll start to see output like "Indexed into GeoBlacklight:..."

We usually run this overnight.

Docker

To test the docker container, run docker compose:

docker compose up --build

Then visit http://localhost:3000

About

Princeton University Library Geoblacklight application.

Resources

Code of conduct

Stars

8 stars

Watchers

12 watching

Forks

Releases

Packages

Used by

Contributors

Languages