You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9a5fb77
Browse filesBrowse the repository at this point in the historyBrowse files
Important! Please follow the new quideline for setting the Pull Request title: https://docs.dasch.swiss/developers/dsp/contribution/#pull-request-guidelines
2
+
Important! Please follow the new guideline for setting the Pull Request title: https://docs.dasch.swiss/developers/dsp/contribution/#pull-request-guidelines
[Knora](https://www.knora.org/) is a server application for storing, sharing, and working with primary sources and data in the humanities.
8
8
9
9
It is developed by the [Data and Service Center for the Humanities](https://dasch.swiss)
10
10
at the [University of Basel](https://www.unibas.ch), and is supported by the
@@ -17,11 +17,11 @@ released under the [GNU Affero General Public License](http://www.gnu.org/licens
17
17
## Features
18
18
19
19
* Stores humanities data as industry-standard [RDF](http://www.w3.org/TR/2014/NOTE-rdf11-primer-20140624/) graphs, plus files for binary data such as digitized primary sources.
20
-
* Designed to work with any standards-compliant RDF triplestore. Tested with [Jena Fuseki](https://jena.apache.org/).
20
+
* Designed to work with any standards-compliant RDF triplestore. Tested with [Jena Fuseki](https://jena.apache.org/).
21
21
* Based on [OWL](http://www.w3.org/TR/2012/REC-owl2-primer-20121211/) ontologies that express abstract, cross-disciplinary commonalities in the structure and semantics of research data.
22
22
* Offers a generic HTTP-based API, implemented in [Scala](https://www.scala-lang.org/), for querying, annotating, and linking together heterogeneous data in a unified way.
23
-
* Handles authentication and authorization.
24
-
* Provides automatic versioning of data.
23
+
* Handles authentication and authorization.
24
+
* Provides automatic versioning of data.
25
25
* Uses [Sipi](https://www.sipi.io), a high-performance media server implemented in C++.
26
26
* Designed to be be used with [DSP-APP](https://docs.dasch.swiss/user-guide/), a general-purpose, browser-based virtual research environment,
27
27
as well as with custom user interfaces.
@@ -59,23 +59,23 @@ Each developer machine should have the following prerequisites installed:
To pin the version of Java, please add this environment variable to you startup script (bashrc, etc.):
68
68
69
-
```
69
+
```shell
70
70
export JAVA_HOME=`/usr/libexec/java_home -v 11`
71
71
```
72
72
73
73
#### Bazel build tools
74
74
75
75
To install, follow these steps:
76
76
77
-
```
78
-
$ npm install -g @bazel/bazelisk
77
+
```shell
78
+
npm install -g @bazel/bazelisk
79
79
```
80
80
81
81
This will install [bazelisk](https://github.com/bazelbuild/bazelisk) which is
@@ -95,40 +95,40 @@ With [Bazel](https://docs.bazel.build/versions/3.3.0/install-os-x.html) and
95
95
[Docker](https://www.docker.com) installed, run the following to create a test
96
96
repository and load some test data into the triplestore:
97
97
98
-
```
99
-
$ make init-db-test
98
+
```shell
99
+
make init-db-test
100
100
```
101
101
102
102
Then we need to start knora-api after loading the data:
103
103
104
-
```
105
-
$ make stack-up
104
+
```shell
105
+
make stack-up
106
106
```
107
107
108
108
Then try opening [http://localhost:3333/v2/resources/http%3A%2F%2Frdfh.ch%2F0803%2Fc5058f3a](http://localhost:3333/v2/resources/http%3A%2F%2Frdfh.ch%2F0803%2Fc5058f3a) in a web browser. You should see a response in JSON-LD describing a book.
109
109
110
110
To shut down the Knora-Stack:
111
111
112
-
```
113
-
$ make stack-down
112
+
```shell
113
+
make stack-down
114
114
```
115
115
116
116
### Run the automated tests
117
117
118
118
Run :
119
119
120
-
```
121
-
$ make test
120
+
```shell
121
+
make test
122
122
```
123
123
124
124
### Running with Custom Folders
125
125
126
126
The `$ make stack-up` target can be additionally configured thorough the
127
127
following environment variables:
128
128
129
-
-`KNORA_DB_HOME`: sets the path to the folder where the triplestore will store
129
+
*`KNORA_DB_HOME`: sets the path to the folder where the triplestore will store
130
130
the database files
131
-
-`KNORA_DB_IMPORT`: sets the path to the import directory accessible from
131
+
*`KNORA_DB_IMPORT`: sets the path to the import directory accessible from
132
132
inside the docker image
133
133
134
134
If the import and/or data directory are not set, then Docker volumes will be
@@ -210,11 +210,11 @@ A pull request usually resolves one issue or user story defined on [Youtrack](ht
0 commit comments