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
+41-27
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,10 @@
1
-
# On-Site WebCSD
1
+
# On-Site Lattice and WebCSD
2
2
3
-
On-Site WebCSD is currently only available to CCDC industrial customers and other invited groups.
3
+
On-Site Lattice and WebCSD is currently only available to CCDC industrial customers and other invited groups.
4
4
5
-
This readme contains information required for installation and updates of On-Site WebCSD.
5
+
This readme contains information required for installation and updates of On-Site Lattice and WebCSD.
6
6
7
-
Please use the latest non alpha version from the release tab <https://github.com/ccdc-opensource/on-site-webcsd/releases>, using main may not work as it is not an official release.
8
-
Releases prior to version 1.0.0 or with <version>-alpha are alpha releases which will not contain all the functionality currently provided in On-Site WebCSD.
7
+
Please use the latest version from the release tab <https://github.com/ccdc-opensource/on-site-webcsd/releases>.
9
8
10
9
Terms and conditions can be found in the license.md file.
11
10
@@ -18,33 +17,44 @@ This will run on [Docker Desktop](https://docs.docker.com/engine/install/#deskto
18
17
19
18
Access to the CCDC container registry will require a username and password, to get them please contact CCDC Support.
20
19
20
+
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
+
21
22
A valid license key will be required to use the software.
22
23
23
24
A download of the desired [release](https://github.com/ccdc-opensource/on-site-webcsd/releases).
24
25
Click on the release you want to use, and download the source code zip and unpack.
25
26
26
27
## Initial recommended specification
27
28
28
-
Recommended requirements for On-Site WebCSD:
29
-
170GB free hd space, 32GB ram, 8 core cpu.
29
+
Recommended requirements for postgres server without Macromolecule Hub:
30
+
- Postgres version 14 or newer
31
+
- 100GB free hd space
30
32
31
-
Recommended requirements for On-Site WebCSD including Macromolecule Hub:
32
-
400GB free hd space, 32GB ram, 8 core cpu.
33
+
Recommended requirements for postgres server including Macromolecule Hub:
34
+
- Postgres version 14 or newer
35
+
- 200GB free hd space
36
+
37
+
Recommended requirements for On-Site Lattice and WebCSD containers:
38
+
- 30GB free hd space, 16GB RAM, 8 core CPU.
33
39
34
-
On-Site 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:
40
+
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.
35
41
36
-
- Linux - Intel compatible, 64-bit:
37
-
- RedHat Enterprise 7.6 or higher, and 8
38
-
- CentOS 7.6 or higher
39
-
- CentOS Stream 8
40
-
- Ubuntu LTS 20 and 22
42
+
- RedHat Enterprise 7.6 or higher, 8 and 9
43
+
- CentOS 7.6 or higher
44
+
- Rocky Linux 8 and 9
45
+
- Ubuntu LTS 20 and 22
46
+
47
+
We will stop support of RedHat and CentOS 7 at the end of June, 2024, in line with their provider.
41
48
42
49
## In-house Database Configuration
43
50
44
-
On-Site WebCSD can be configured to read from in-house databases.
51
+
On-Site Lattice and WebCSD can be configured to read from in-house databases.
52
+
53
+
Provided within the installation are sample databases which can be found in the sample-data folder in the root of the installation.
54
+
45
55
To enable these databases follow:
46
56
47
-
1. Copy and rename the file `docker-compose.sample-onsite-only-db-config.yml` to `docker-compose.db-config.yml`
57
+
1. Copy and rename the file `docker-compose.sample-On-Site-only-db-config.yml` to `docker-compose.db-config.yml`
48
58
2. Edit the `volumes` section of that file to point to any in-house databases and edit the `environment` section to configure the application to recognise these databases.
49
59
50
60
More information is given in the notes & example sections of the sample file. This acts as an [override file](https://docs.docker.com/compose/extends/) which you will have to include in the startup command.
@@ -68,9 +78,10 @@ Here is an example of the .env file:
# As of v2.0.0, containers run as non root users. Because of this you will need to run the following in the on-site-webcsd directory:
86
-
sudo adduser ccdc
97
+
sudo adduser ccdc --uid=1397
87
98
sudo chown -R ccdc:ccdc userdata/
88
99
100
+
# If you are upgrading from an older version to v4.0.0, ensure the user id is set to 1397
101
+
sudo usermod -u 1397 ccdc
102
+
89
103
# You will also need to ensure the user "ccdc" has read access to any in-house or CSP databases by using the command above on relevant directories.
90
104
91
105
#Use one of the following commands:
@@ -97,10 +111,10 @@ docker compose up -d
97
111
docker compose -f docker-compose.yml -f docker-compose.db-config.yml up -d
98
112
99
113
#Use this command if you have in-house databases and want macromolecule hub
100
-
docker compose -f docker-compose.macromolecule-hub.yml -f docker-compose.db-config.yml up -d
114
+
docker compose -f docker-compose.yml -f docker-compose.macromolecule-hub.yml -f docker-compose.db-config.yml up -d
101
115
102
116
#Use this command if you have no in-house databases and want macromolecule hub
103
-
docker compose -f docker-compose.macromolecule-hub.yml up -d
117
+
docker compose -f docker-compose.yml -f docker-compose.macromolecule-hub.yml up -d
104
118
```
105
119
106
120
## Updates
@@ -124,10 +138,10 @@ docker compose up -d
124
138
docker compose -f docker-compose.yml -f docker-compose.db-config.yml up -d
125
139
126
140
#Use this command if you have in-house databases and want macromolecule hub
127
-
docker compose -f docker-compose.macromolecule-hub.yml -f docker-compose.db-config.yml up -d
141
+
docker compose -f docker-compose.yml -f docker-compose.macromolecule-hub.yml -f docker-compose.db-config.yml up -d
128
142
129
143
#Use this command if you have no in-house databases and want macromolecule hub
130
-
docker compose -f docker-compose.macromolecule-hub.yml up -d
144
+
docker compose -f docker-compose.yml -f docker-compose.macromolecule-hub.yml up -d
131
145
```
132
146
133
147
## Verifying the Installation/Update
@@ -144,8 +158,8 @@ For more information see the [Docker volumes documentation](https://docs.docker.
144
158
145
159
## Usage
146
160
147
-
To access the WebCSD service locally go to <http://localhost> in a browser.
161
+
To access the On-Site Lattice and WebCSD service locally go to <http://localhost> in a browser.
148
162
149
163
## Contact support
150
164
151
-
If you experience any difficulties with installing or using On-Site WebCSD, please contact our support team at <support@ccdc.cam.ac.uk> who will be happy to assist you.
165
+
If you experience any difficulties with installing or using On-Site Lattice and WebCSD, please contact our support team at <support@ccdc.cam.ac.uk> who will be happy to assist you.
0 commit comments