Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1016 Bytes

README.md

File metadata and controls

51 lines (38 loc) · 1016 Bytes

history

A simple Blacklight search app for viewing UAlbany history and events

https://archives.albany.edu/history

For development

Run the app:

docker-compose -f docker-compose-dev.yml up

Navigate to http://localhost:3000/history

You should be able to edit code in real time.

When you're done:

docker-compose down

For deployment

Building the history image locally:

DOCKER_BUILDKIT=1 docker build --secret id=master_key,src=config/master.key -t history .

On Windows

$env:DOCKER_BUILDKIT=1; docker build --secret id=master_key,src=config/master.key -t history .

Running the image in the background:

docker-compose up -d

Navigate to http://localhost:8081/history

→ In production, this should be set up to run as a service

To stop:

docker-compose down

For a terminal

If you need another terminal:

docker exec -it history bash