Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 800 Bytes

README.md

File metadata and controls

43 lines (27 loc) · 800 Bytes

Get This

Implements date picker for booking a media item

Setting up Get This for development

Clone the repo

git clone [email protected]:mlibrary/get-this.git
cd get-this

run the init.sh script.

./init.sh

edit .env with the appropriate environment variables

start containers

docker compose up -d

Updating institution_hours_exceptions.json

config/institution_hours_exceptions.json is a static file that needs to be updated yearly.

Steps

  1. Verify that you are using a production Alma API Key.

  2. Run the script

docker compose run --rm web ruby bin/update_alma_config.rb

The file config/institution_hours_exceptions.json will get replaced with the latest information.

  1. Commit the file and go through the app release process.