GeoBlacklight for Princeton University Library
git clone https://github.com/pulibrary/pulmap.git
cd pulmap
bundle install
yarn install- Install Lando DMG from https://github.com/lando/lando/releases
- To start:
bundle exec rake servers:start - For test:
bundle exec rspec
- For development:
bundle exec rails s- Access Pulmap at http://localhost:3000/
- To stop:
bundle exec rake servers:stoporlando stop
You can deploy to Nomad from the command line:
BRANCH=branch_name ./bin/deploy staging
./bin/deploy production
The reindex is triggered on the figgy side.
$ ssh deploy@figgy-worker-prod1
$ tmux new -t [yourname]
$ cd /opt/figgy/current
$ BULK=true bundle exec rails c
> GeoResourceReindexer.reindex_geoblacklight
$ 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.
To test the docker container, run docker compose:
docker compose up --buildThen visit http://localhost:3000