Skip to content

Commit

Permalink
Feat: added ONI service. Matched Dockerfile and .nvmrc node versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
shilob committed Jul 2, 2024
1 parent 2bf98d5 commit 4a2850b
Show file tree
Hide file tree
Showing 3 changed files with 681 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.11.1
20.15.0
83 changes: 71 additions & 12 deletions config/datapubs.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,83 @@
module.exports.datapubs = {

"rootCollection": {
targetRepoNamespace: "uts_public_data_repo",
rootCollectionId: "arcp://name,data_repo/root_collection",
targetRepoColId: "root_collection",
targetRepoColName: "",
targetRepoColDescription: "This is a sample data portal. For any questions, please get in touch with us at [email protected]",
dsType: ["Dataset", "RepositoryCollection"],
enableDatasetToUseDefaultLicense: true,
defaultLicense: {
"@id": "http://creativecommons.org/licenses/by/4.0",
"@type": "OrganizationReuseLicense",
"name": "Attribution 4.0 International (CC BY 4.0)",
"description": "You are free to share (copy and redistribute the material in any medium or format) and adapt (remix, transform and build upon the material for any purpose, even commercially)."
},
},
"sites": {
"staging": {
"dir": "/publication/staging",
"url": "http://localhost:8080/staging"
"dir": "/opt/oni/staged/ocfl",
"tempDir": "/opt/oni/staged/temp",
"url": "http://localhost:11000"
},
"public": {
"dir": "/publication/public",
"url": "http://localhost:8080/public"
"dir": "/opt/oni/public/ocfl",
"url": "http://localhost:11000/publication"
}
},

"datacrate": {
"catalog_html": "CATALOG.html",
"catalog_json": "CATALOG.json",
"metadata": {
"html_filename": "ro-crate-preview.html",
"jsonld_filename": "ro-crate-metadata.jsonld",
"datapub_json": "datapub.json",
"identifier_namespace": "public_ocfl",
"render_script": "",
"organization": {
"id": "https://www.uts.edu.au/",
"name": "University of Technology Sydney"
"@id": "https://www.redboxresearchdata.com.au",
"@type": "Organization",
"identifier": "https://www.redboxresearchdata.com.au",
"name": "ReDBox Research Data"
},
related_works: [
{
field: 'publications',
type: 'ScholarlyArticle'
},
{
field: 'websites',
type: 'WebSite'
},
{
field: 'metadata',
type: 'CreativeWork'
},
{
field: 'data',
type: 'Dataset'
},
{
field: 'services',
type: 'CreativeWork'
}
],
funders: [
'foaf:fundedBy_foaf:Agent',
'foaf:fundedBy_vivo:Grant'
],
subjects: [
'dc:subject_anzsrc:for',
'dc:subject_anzsrc:seo'
],
DEFAULT_IRI_PREFS: {
'about': {
'dc:subject_anzsrc:for': '_:FOR/',
'dc:subject_anzsrc:seo': '_:SEO/'
},
'spatialCoverage': '_:spatial/',
'funder': '_:funder/',
'license': '_:license/',
'citation': '_:citation/',
'contact': '_:contact/',
'location': '_:location/'
}
}

};
Loading

0 comments on commit 4a2850b

Please sign in to comment.