Skip to content

Commit

Permalink
more removal of making life easier on the dev side of things, but not…
Browse files Browse the repository at this point in the history
… needed on main as in upgrade branch
  • Loading branch information
aprilrieger committed Sep 22, 2023
1 parent 5beea30 commit 08a94d9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 22 deletions.
5 changes: 2 additions & 3 deletions app/javascript/components/video_player.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default class VideoPlayer extends Component{
width: 800,
baseUrl: '/assets/clappr',
parent: this.refs.player,
hlsjsConfig: { enableWorker: true },
hlsjsConfig: { enableWorker: true }
})

this.setState({ player: player })
Expand Down Expand Up @@ -69,8 +69,7 @@ export default class VideoPlayer extends Component{

render() {
return (
<div id="player" ref="player">
</div>
<div id="player" ref="player"></div>
)
}
}
10 changes: 1 addition & 9 deletions db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@
# Import the work with the video
OralHistoryItem.import_single("21198-zz002jxz7z")

# Import additional works with audio
# Import additional works with audio
OralHistoryItem.import_single("21198-zz002bfs89")
OralHistoryItem.import_single("21198-zz002kd7t9")
OralHistoryItem.import_single("21198-zz002gvzsh")

#https://webservices.library.ucla.edu/dldataprovider/oai2_0.do?metadataPrefix=mods&verb=GetRecord&identifier=oai:library.ucla.edu:digital2/21198-zz00096t7z
OralHistoryItem.import_single("21198-zz00096t7z")
OralHistoryItem.import_single("21198-zz002czx49")
OralHistoryItem.import_single("21198-zz000904cp")
OralHistoryItem.import_single("21198-zz00096th3")
end
17 changes: 7 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,18 @@ services:
- 'postgres:/var/lib/postgresql/data'

solr:
build: ./solr
build: solr/
ports:
- "8983:8983"
- '8983:8983'
environment:
- SOLR_HEAP=4g
- SOLR_HOME=/solr_home
- SOLR_CONFIG_DIR=/solr_conf
volumes:
- solr:/solr_home

web:
build:
context: .
target: web
cache_from:
- "${REGISTRY_HOST}${REGISTRY_URI}/oral-history:${TAG}"
dockerfile: Dockerfile
image: "${REGISTRY_HOST}${REGISTRY_URI}/oral-history:${TAG}"
env_file:
- .env
Expand All @@ -42,7 +38,7 @@ services:
- "${DOCKER_PORTS}"
- "8000:80"
environment:
- VIRTUAL_HOST=oralhistory.test
- VIRTUAL_HOST=oralhistory.docker
- VIRTUAL_PORT=80
depends_on:
- postgres
Expand All @@ -52,7 +48,8 @@ services:
worker:
build:
context: .
target: web
dockerfile: Dockerfile
image: "${REGISTRY_HOST}${REGISTRY_URI}/oral-history:${TAG}"
env_file:
- .env
- .env.development
Expand All @@ -65,4 +62,4 @@ services:

volumes:
postgres:
solr:
solr:

0 comments on commit 08a94d9

Please sign in to comment.