@geoblacklight/admin
v0.4.4
Published
GeoBlacklight Admin / A Rails engine for managing GeoBlacklight metadata
Downloads
4
Readme
geoblacklight_admin
GeoBlacklight Admin is a GeoBlacklight plugin, built on Kithe, that provides a complex web-form for editing documents and an CSV-based import/export workflow for OpenGeoMetadata's Aardvark schema. GBL Admin is based on the Big Ten Academic Alliance's production workflow tool GEOMG.
Requirements
- Rails v7
- Blacklight v7 (not v8)
- GeoBlacklight v4.4+ (Vite.js)
- Solr v8.4+
- PostgreSQL (not MySQL-based DBs)
- Redis (for Sidekiq)
- OpenGeoMetadata's Aardvark Schema
Installation
PostgreSQL
You need a PostgreSQL database to use this project.
- Homebrew: https://wiki.postgresql.org/wiki/Homebrew
- Docker: https://www.docker.com/blog/how-to-use-the-postgres-docker-official-image/
Install Template
Use Ruby v3.3 and Rails v7.0.8.1 to bootstrap a new GeoBlacklight + GBL Admin application using the template script:
rails _7.0.8.1_ new gbl_admin -m https://raw.githubusercontent.com/geobtaa/geoblacklight_admin/develop/template.rb
cd gbl_admin
bundle exec rake gbl_admin:server
You have now generated the .internal_test_app and populated the Elements / FormElements tables for OMG Aardvark support.
View App in Browser
- Visit http://localhost:3000/admin
- Click on the "Sign in" link
- Enter email: [email protected] and password: 123456
- Click on the "GBL Admin" link
- Import some CSV (test/fixtures/files/btaa_sample_records.csv)
Contributing
For Developer documentation see doc/developer.md
License
The gem is available as open source under the terms of the Apache 2.0 License.
TODOs
- ~~Send GBLADMIN JavaScript pack to NPM like Blacklight~~
- DRY up Engine routing
- Remove legacy GEOMG / B1G everywhere...
- Likely some more polish to be uncovered...