location
- /data
- /config/public.yml [prod]
- /config/private.yml [dev]
- /collection/Project_Name/config/public.yml [prod]
- /collection/Project_Name/config/private.yml [dev]
- example:
http://cdrhmedia.unl.edu
Location of data (html, tei, etc.)
Application will append /data/ to url; can be the same as cdrh_media.
Generally passed to index scripts to build link to html, tei, and other data.
- example:
http://cdrhmedia.unl.edu
Location of the media (audio, video).
Linking to all media except images in api and html.
- private.yml only
- override template via xsl file, store location in:
- /config/public.yml
- to change for all projects
- /collection/Project_Name/config/private.yml
- to change for only one project
- example: https://github.com/CDRH/data/blob/master/scripts/xslt/cdrh_to_html/lib/cdrh.xsl#L115
- /config/public.yml
The default XSLT scripts build an IIIF url based from media_base.
Local override: Store file outside repo, reference location from /Project_Name/config/private.yml." Used to link to page images in html.
- private.yml only
- example es_path:
http://localhost:9200
- example es_index:
cdrhapi
Location of elasticsearch instance and index.
Used to post to index.
location
- /data
- /collection/Project_Name/config/public.yml [prod]
- /collection/Project_Name/config/private.yml [dev]
- example:
Project_Name
Shortname, or ""slug"" of the project.
Generally the same as the folder name in /data/collections and stored in public.yml.
Used to build URL's in index and HTML scripts.
location:
- /rails/api
- /config/config.yml
- example es_path:
http://localhost:9200
- example es_index:
cdrhapi
location of elasticsearch index and index name.
location:
-
/rails/Project_Name
- /config/config.yml
-
production
ordevelopment
-
example production or development:
http://localhost:3000
orhttp://localhost:3000/collection/Project_Name
Location of API.