Skip to content
Closed
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
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,13 @@ 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.
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. As a shortcut, you can set the `SERVE_TEST_UI` environment variable to `true` when you bring the containers up to fetch the assets for the latest `galc-ui`' snapshot:

```bash
docker compose down
SERVE_TEST_UI=true docker compose up -d
```


If, instead, you want to create the database and not load the sample data, you can run...
```bash
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ services:
ports:
- 3000:3000
restart: always
environment:
- SERVE_TEST_UI

db:
environment:
Expand Down
4 changes: 1 addition & 3 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
<link rel="stylesheet" media="all" href="https://use.fontawesome.com/releases/v5.13.1/css/all.css" />
<link rel="stylesheet" media="all" href="https://use.fontawesome.com/releases/v5.13.1/css/v4-shims.css" />
<link rel="stylesheet" media="all" href="https://use.typekit.net/ooq8hdx.css" />
<link rel="stylesheet" media="all" href="https://www.lib.berkeley.edu/sites/default/files/css/css_9m8-tA3IQf8ThlLQYTTZUyEweCvyR908Tg0XCbKYOfY.css" />
<link rel="stylesheet" media="all" href="https://www.lib.berkeley.edu/sites/default/files/css/css_yD1SqggTrO1FYCweGgM0u_33oDUc944jLYToRLwcGyg.css" />
<link rel="stylesheet" media="all" href="https://www.lib.berkeley.edu/sites/default/files/css/css_whd13hgPHsqBVOBFppmRAkBFQYuiBvZ8wd1eo7cTe-M.css" />
<link rel="stylesheet" media="all" href="https://www.lib.berkeley.edu/themes/custom/ucblibrary/css/style.css" />

<link rel="stylesheet" media="all" href="https://unpkg.com/%40berkeleylibrary/galc-ui%40snapshot/dist/style.css" />
<script type="module" src="https://unpkg.com/%40berkeleylibrary/galc-ui%40snapshot/dist/galc-ui.umd.js"></script>
Expand Down
Loading