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-13
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
# On-Site WebCSD
2
2
3
-
On-Site WebCSD is currently only available to CCDC Research Partners and other invited groups.
3
+
On-Site WebCSD is currently only available to CCDC industrial customers and other invited groups.
4
4
5
5
This readme contains information required for installation and updates of On-Site WebCSD.
6
6
7
-
Please use the latest 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. Releases prior to version 1.0.0 are alpha releases which will not contain all the functionality currently provided in On-Site WebCSD.
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. 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.
8
8
9
9
Terms and conditions can be found in the license.md file.
10
10
11
-
Additional information including user configuration and troubleshooting can be found in the wiki at https://github.com/ccdc-opensource/on-site-webcsd/wiki.
11
+
Additional information including user configuration and troubleshooting can be found in the wiki at <https://github.com/ccdc-opensource/on-site-webcsd/wiki>.
12
12
13
13
## Prerequisites
14
14
@@ -23,9 +23,12 @@ Click on the release you want to use, and download the source code zip and unpac
23
23
24
24
## Initial recommended specification
25
25
26
-
Recommended requirements:
26
+
Recommended requirements for On-Site WebCSD:
27
27
170GB free hd space, 32GB ram, 8 core cpu.
28
28
29
+
Recommended requirements for On-Site WebCSD including Macromolecule Hub:
30
+
400GB free hd space, 32GB ram, 8 core cpu.
31
+
29
32
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:
30
33
31
34
- Linux - Intel compatible, 64-bit:
@@ -38,6 +41,11 @@ On-Site WebCSD should work with any linux OS that meets the requirements to run
38
41
39
42
On-Site WebCSD can be configured to read from in-house databases. To enable these databases, copy and rename the file `docker-compose.sample-db-config.yml` to `docker-compose.db-config.yml` and edit the `volumes` section to point to any in-house databases and edit the `environment` section to configure the application to recognise these databases. 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.
40
43
44
+
## CSD-Theory Database Configuration
45
+
46
+
If wanting to use WebCSD with CSD-Theory, ensure the steps in [link](#In-house Database Configuration) have been followed.
47
+
There are examples of CSD-Theory configurations in the `docker-compose.sample-db-config.yml` file.
48
+
41
49
## Installation
42
50
43
51
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` then populate with suitable values.
@@ -56,20 +64,33 @@ CSD_DB_PASSWORD=A password of your choosing
56
64
CSD_CACHE_PASSWORD=A password of your choosing
57
65
```
58
66
59
-
Where stated, some of these variables will be provided by CCDC; all other variables are for the user to generate and set. Once the variables file has been populated, login to the CCDC container registry and bring up the stack:
67
+
Where stated, some of these variables will be provided by CCDC; all other variables are for the user to generate and set.
68
+
Once the variables file has been populated, login to the CCDC container registry and bring up the stack:
#Use one of the following two commands depending on if you have in-house database configuration
68
-
#Use this command if you have no in-house database configuration
76
+
# 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:
77
+
sudo chown -R ccdc:ccdc userdata/
78
+
79
+
# 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.
80
+
81
+
#Use one of the following commands:
82
+
83
+
#Use this command if you have no in-house databases and don't want to use macromolecule hub
69
84
docker compose up -d
70
85
71
-
#Use this command if you have in-house database configuration
86
+
#Use this command if you have in-house databases and don't want to use macromolecule hub
72
87
docker compose -f docker-compose.yml -f docker-compose.db-config.yml up -d
88
+
89
+
#Use this command if you have in-house databases and want macromolecule hub
90
+
docker compose -f docker-compose.macromolecule-hub.yml -f docker-compose.db-config.yml up -d
91
+
92
+
#Use this command if you have no in-house databases and want macromolecule hub
93
+
docker compose -f docker-compose.macromolecule-hub.yml up -d
73
94
```
74
95
75
96
## Updates
@@ -83,12 +104,19 @@ Once the latest installation files have been obtained, to update the software, p
83
104
docker compose pull
84
105
85
106
docker compose down
86
-
#Use one of the following two commands depending on if you have in-house database configuration
87
-
#Use this command if you have no in-house database configuration
107
+
#Use one of the following commands:
108
+
109
+
#Use this command if you have no in-house databases and don't want to use macromolecule hub
88
110
docker compose up -d
89
111
90
-
#Use this command if you have in-house database configuration
112
+
#Use this command if you have in-house databases and don't want to use macromolecule hub
91
113
docker compose -f docker-compose.yml -f docker-compose.db-config.yml up -d
114
+
115
+
#Use this command if you have in-house databases and want macromolecule hub
116
+
docker compose -f docker-compose.macromolecule-hub.yml -f docker-compose.db-config.yml up -d
117
+
118
+
#Use this command if you have no in-house databases and want macromolecule hub
119
+
docker compose -f docker-compose.macromolecule-hub.yml up -d
92
120
```
93
121
94
122
## Verifying the Installation/Update
@@ -105,8 +133,8 @@ For more information see the [Docker volumes documentation](https://docs.docker.
105
133
106
134
## Usage
107
135
108
-
To access the WebCSD service locally go to http://localhost in a browser.
136
+
To access the WebCSD service locally go to <http://localhost> in a browser.
109
137
110
138
## Contact support
111
139
112
-
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.
140
+
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.
0 commit comments