boston-library / bpldc_authority_api

API for returning authority data and controlled values for BPLDC descriptive metadata
1 stars 0 forks source link

BPLDC Authority API

Build Status Coverage Status

A lightweight API-only Rails app that provides authority data and controlled values for descriptive metadata records conforming to the BPLDC MODS Application Profile.

See the wiki for more information:

Running with Docker

Run the following commands from the project root:

  1. Start Ruby/Rails and Postgres containers:
    
    $ docker-compose up
Note entrypoint.sh runs `bundle exec rails db:prepare` which creates the databases and runs the migrations
2. From another terminal window, run:

$ docker-compose run app rails db:seed

3. To rebuild the container run

$ docker-compose build --no-cache


The application will be available on `localhost:3001`. Use `docker-compose up -d` and `docker-compose down` to start/stop the application.