Skip to content

Commit 66d5292

Browse files
author
Shana Moore
committed
🎁 fixes to unblock deploys
Removes SaveSearchesController as it is not longer supported. Blacklight::SavedSearched was removed in v7+ Adds storage.yml, a required file to boot up in production. ref: - https://github.com/projectblacklight/blacklight/wiki/Saved-Searches - projectblacklight/blacklight#1736
1 parent 17c9192 commit 66d5292

File tree

2 files changed

+34
-7
lines changed

2 files changed

+34
-7
lines changed

app/controllers/saved_searches_controller.rb

Lines changed: 0 additions & 7 deletions
This file was deleted.

config/storage.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
test:
2+
service: Disk
3+
root: <%= Rails.root.join("tmp/storage") %>
4+
5+
local:
6+
service: Disk
7+
root: <%= Rails.root.join("storage") %>
8+
9+
# Use bin/rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
10+
# amazon:
11+
# service: S3
12+
# access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
13+
# secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
14+
# region: us-east-1
15+
# bucket: your_own_bucket-<%= Rails.env %>
16+
17+
# Remember not to checkin your GCS keyfile to a repository
18+
# google:
19+
# service: GCS
20+
# project: your_project
21+
# credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
22+
# bucket: your_own_bucket-<%= Rails.env %>
23+
24+
# Use bin/rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
25+
# microsoft:
26+
# service: AzureStorage
27+
# storage_account_name: your_account_name
28+
# storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
29+
# container: your_container_name-<%= Rails.env %>
30+
31+
# mirror:
32+
# service: Mirror
33+
# primary: local
34+
# mirrors: [ amazon, google, microsoft ]

0 commit comments

Comments
 (0)