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
1. Have your `bash` shell ready. It should be included by default on Linux. On Windows you can install the [Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10).
-[Install Docker Compose](https://docs.docker.com/compose/install/), if it is not already included in the Docker installation
25
-
2.[Fork](https://guides.github.com/activities/forking/) this repository and clone the fork into a folder
26
-
3. In the folder, create an `.env` file and fill out the missing values (you can use [`.env_sample`](https://github.com/AtomGraph/LinkedDataHub/blob/master/.env_sample) as a template). For example:
26
+
3.[Fork](https://guides.github.com/activities/forking/) this repository and clone the fork into a folder
27
+
4. In the folder, create an `.env` file and fill out the missing values (you can use [`.env_sample`](https://github.com/AtomGraph/LinkedDataHub/blob/master/.env_sample) as a template). For example:
27
28
```
28
29
COMPOSE_CONVERT_WINDOWS_PATHS=1
29
30
COMPOSE_PROJECT_NAME=linkeddatahub
@@ -42,26 +43,30 @@ What makes LinkedDataHub unique is its completely _data-driven architecture_: ap
42
43
OWNER_LOCALITY=Copenhagen
43
44
OWNER_STATE_OR_PROVINCE=Denmark
44
45
OWNER_COUNTRY_NAME=DK
45
-
OWNER_KEY_PASSWORD=changeit
46
46
```
47
-
4. Run this from command line:
47
+
5. Setup SSL certificates/keys by running this from command line (replace `$owner_cert_pwd` and `$secretary_cert_pwd` with your own passwords):
The script will create an `ssl` sub-folder where the SSL certificates and/or public keys will be placed. It requires Java's `keytool` as well as `openssl` to be available on `$PATH`.
52
+
6. Launch the application services by running this from command line:
48
53
```
49
54
docker-compose up
50
55
```
51
-
5. LinkedDataHub will start and create the following sub-folders:
52
-
-`certs` where your WebID certificates are stored
56
+
LinkedDataHub will start and mount the following sub-folders:
53
57
- `data` where the triplestore(s) will persist RDF data
54
58
- `uploads` where LDH stores content-hashed file uploads
55
-
6. Install `certs/owner.p12` into a web browser of your choice (password is the `OWNER_KEY_PASSWORD` value)
59
+
60
+
The first should take around half a minute as datasets are being loaded into triplestores. After a successful startup, the last line of the Docker log should read something like:
61
+
62
+
linkeddatahub_1 | 09-Feb-2021 14:18:10.536 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [32609] milliseconds
63
+
64
+
7. Install `ssl/owner/keystore.p12` into a web browser of your choice (password is the `$owner_cert_pwd` value supplied to `setup.sh`)
- Apple Safari: The file is installed directly into the operating system. Open the file and import it using the [Keychain Access](https://support.apple.com/guide/keychain-access/what-is-keychain-access-kyca1083/mac) tool.
59
68
- Microsoft Edge: Does not support certificate management, you need to install the file into Windows. [Read more here](https://social.technet.microsoft.com/Forums/en-US/18301fff-0467-4e41-8dee-4e44823ed5bf/microsoft-edge-browser-and-ssl-certificates?forum=win10itprogeneral).
60
-
7. Open **https://localhost:4443/** in that web browser
61
-
62
-
After a successful startup, the last line of the Docker log should read:
63
-
64
-
linkeddatahub_1 | 02-Feb-2020 02:02:20.200 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 3420 ms
69
+
8. Open **https://localhost:4443/** in that web browser
65
70
66
71
### Notes
67
72
@@ -108,7 +113,7 @@ _:warning: Do not use blank nodes to identify applications or services. We recom
108
113
109
114
If you need to start fresh and wipe the existing setup (e.g. after configuring a new base URI), you can do that using
110
115
```
111
-
sudo rm -rf certs data && docker-compose down -v
116
+
sudo rm -rf data && docker-compose down -v
112
117
```
113
118
114
119
_:warning: This will **remove the persisted data**, server and owner certificates as well as their Docker volumes._
0 commit comments