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
Copy file name to clipboardexpand all lines: README.md
+51-33
Original file line number
Diff line number
Diff line change
@@ -13,13 +13,14 @@ Additional information including user configuration and troubleshooting can be f
13
13
## Prerequisites
14
14
15
15
A standard [Docker Server](https://docs.docker.com/engine/install/#server) and [Docker Compose](https://docs.docker.com/compose/install/) installation is required for installation.
16
+
We recommend installing the latest version of Docker from these links.
16
17
This will run on [Docker Desktop](https://docs.docker.com/engine/install/#desktop), however this is not recommended and may [require a license](https://www.docker.com/legal/docker-subscription-service-agreement/).
17
18
18
19
Access to the CCDC container registry will require a username and password, to get them please contact CCDC Support.
19
20
20
21
For version 4.0 onwards, a postgres server is required for CSD and Identity databases. The postgres CSD database will be provided via a download link, to get it, please contact CCDC Support.
21
-
Once you have the download link please follow the instructions at [Setting Up Your PostgreSQL Server](https://github.com/ccdc-opensource/on-site-webcsd/wiki/Setting-up-your-PostgreSQL-server) to restore the
22
-
database into your environment.
22
+
Once you have the download link please follow the instructions at [Setting Up Your PostgreSQL Server](https://github.com/ccdc-opensource/on-site-webcsd/wiki/Setting-up-your-PostgreSQL-server) to restore
23
+
the database into your environment.
23
24
24
25
A valid license key will be required to use the software.
25
26
@@ -29,30 +30,31 @@ Click on the release you want to use, and download the source code zip and unpac
29
30
## Initial recommended specification
30
31
31
32
Recommended requirements for postgres server without Macromolecule Hub:
32
-
- Postgres version 14 or newer
33
-
- 100GB free hd space
33
+
34
+
- Postgres version 14 or newer
35
+
- 100GB free hd space
34
36
35
37
Recommended requirements for postgres server including Macromolecule Hub:
36
-
- Postgres version 14 or newer
37
-
- 200GB free hd space
38
-
38
+
39
+
- Postgres version 14 or newer
40
+
- 200GB free hd space
41
+
39
42
Recommended requirements for On-Site Lattice and WebCSD containers:
40
-
- 30GB free hd space, 16GB RAM, 8 core CPU.
41
43
42
-
On-Site Lattice and WebCSD should work with any Linux OS that meets the requirements to run Docker, but official support is provided by CCDC on the following platforms. Note that these match the 2023.3 Desktop release.
44
+
- 30GB free hd space, 16GB RAM, 8 core CPU.
43
45
44
-
- RedHat Enterprise 7.6 or higher, 8 and 9
45
-
- CentOS 7.6 or higher
46
-
- Rocky Linux 8 and 9
47
-
- Ubuntu LTS 20 and 22
48
-
49
-
We will stop support of RedHat and CentOS 7 at the end of June, 2024, in line with their provider.
46
+
On-Site Lattice and WebCSD should work with any Linux OS that meets the requirements to run Docker, but official support is provided by CCDC on the following platforms.
47
+
Note that these match the 2024.2 Desktop release.
48
+
49
+
- RedHat Enterprise Linux 8 and 9
50
+
- Rocky Linux 8 and 9
51
+
- Ubuntu LTS 22 and 24
50
52
51
53
## In-house Database Configuration
52
54
53
55
On-Site Lattice and WebCSD can be configured to read from in-house databases.
54
56
55
-
Provided within the installation are sample databases which can be found in the sample-data folder in the root of the installation.
57
+
Provided within the installation are sample databases which can be found in the sample-data folder in the root of the installation.
56
58
57
59
To enable these databases follow:
58
60
@@ -65,6 +67,17 @@ More information is given in the notes & example sections of the sample file. Th
65
67
66
68
Instructions on setting up CSD-Theory Web can be found in the [wiki](https://github.com/ccdc-opensource/on-site-webcsd/wiki/Setting-up-CSD%E2%80%90Theory-Web)
67
69
70
+
## SSL Configuration
71
+
72
+
Connecting to your WebCSD server via https is now required.
73
+
To configure this you will need an SSL certificate and private key.
74
+
Ask your local IT staff to set these up for you.
75
+
76
+
Please follow the instructions at [Configuring SSL](https://github.com/ccdc-opensource/on-site-webcsd/wiki/Configuring-SSL) to configure SSL.
77
+
78
+
If the WebCSD server is run without configuring SSL a built-in self-signed certificate will be used.
79
+
This is not recommended as it is insecure.
80
+
68
81
## Installation
69
82
70
83
After unpacking the release source code onto the server on which the software will be installed you will need to go into the on-site-webcsd directory and copy the environment file `sample.env` as `.env`.
@@ -75,10 +88,11 @@ cd on-site-webcsd
75
88
cp sample.env .env
76
89
```
77
90
78
-
You will need to update the .env file with your licence key and the two passwords you would like to use.
79
-
Here is an example of the .env file:
91
+
You will need to update the `.env` file with your licence key, your database server details and
#Use this command if you have no in-house databases and want macromolecule hub
120
-
docker compose -f docker-compose.yml -f docker-compose.macromolecule-hub.yml up -d
136
+
docker compose -f docker-compose.yml -f docker-compose.macromolecule-hub.yml -f docker-compose.ssl.yml up -d
121
137
```
122
138
123
139
## Updates
124
140
125
141
When you have been notified when there is an update available you can download the newest release from the github repository.
126
-
Oce you have downloaded the new release, ensure the default old files have been removed and any custom configuration files have been moved to the new release directory.
142
+
Once you have downloaded the new release, ensure the default old files have been removed and any custom configuration files have been moved to the new release directory.
127
143
128
144
Once the latest installation files have been obtained, to update the software, pull the latest images, and restart the stack.
129
145
The latest images can be pulled whilst the stack is running and changes will only come into effect upon restarting the stack.
@@ -135,16 +151,16 @@ docker compose down
135
151
#Use one of the following commands:
136
152
137
153
#Use this command if you have no in-house databases and don't want to use macromolecule hub
138
-
docker compose up -d
154
+
docker compose -f docker-compose.yml -f docker-compose.ssl.yml up -d
139
155
140
156
#Use this command if you have in-house databases and don't want to use macromolecule hub
141
-
docker compose -f docker-compose.yml -f docker-compose.db-config.yml up -d
157
+
docker compose -f docker-compose.yml -f docker-compose.db-config.yml -f docker-compose.ssl.yml up -d
142
158
143
159
#Use this command if you have in-house databases and want macromolecule hub
144
-
docker compose -f docker-compose.yml -f docker-compose.macromolecule-hub.yml -f docker-compose.db-config.yml up -d
0 commit comments