Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ jobs:

- name: Upload artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: artifacts
path: /opt/app/artifacts/**
path: artifacts/**

# TODO: DRY w/release.yml
push:
Expand Down
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,3 +214,23 @@ above, and retags it with:
Deployment is triggered manually via the `ops/docker-swarm` Jenkins build. The
staging and production Docker stacks are configured to pull the `main` and `latest`
images, respectively.

### Docker Development

For development purposes, the application can be run locally via Docker Compose.

Run:

```bash
docker-compose up --build -d
docker compose exec app rails db:create
docker compose exec app rails db:migrate
```

This will load some sample data into the database. You will then need to run the galc-ui application (from the [`galc-ui`](/BerkeleyLibrary/galc-ui) repository) in order to test the API.

If, instead, you want to create the database and not load the sample data, you can run...
```bash
docker-compose up --build -d
docker compose exec app rails db:setup
```
Loading