Skip to content

Commit 06ef910

Browse files
committed
chore: add missing description to also prepare massbank-data folder
1 parent 232d135 commit 06ef910

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,12 @@ The default structure of the _data_ folder looks like the following:
4040
|---...
4141
|---/compose
4242
|---/data
43+
|---/massbank-data
4344
|---/massbank-volume
4445
|---/postgres-data
4546
|---...
4647

47-
The path to PostgreSQL via _DB_LOCAL_PATH_ is "/MassBank3/data/postgres-data" by default. "/MassBank3/data/massbank-volume" is the default directory to store the MSP file needed for the similarity service and can be set via _MSP_LOCAL_PATH_.
48+
The path to PostgreSQL via _DB_LOCAL_PATH_ is "/MassBank3/data/postgres-data" by default. "/MassBank3/data/massbank-volume" is the default directory to store the MSP file needed for the similarity service and can be set via _MSP_LOCAL_PATH_. "/MassBank3/data/massbank-data" is the default directory to store the MassBank data in folders needed for the export service and can be set via _EXPORT_MB_DATA_DIRECTORY_.
4849

4950
In order to provide the MassBank data to the similarity service, download the latest release of MassBank data in MSP format and move it the _data_ directoy (default):
5051

@@ -53,6 +54,13 @@ In order to provide the MassBank data to the similarity service, download the la
5354
wget https://github.com/MassBank/MassBank-data/releases/latest/download/MassBank_NIST.msp
5455
mv MassBank_NIST.msp ../data/massbank-volume/MassBank_NIST.msp
5556

57+
And in order to provide the MassBank data to the export service, download the latest release of MassBank data, unzip it and move the contributor's directories into _data_ directoy (default):
58+
59+
wget https://github.com/MassBank/MassBank-data/archive/refs/heads/main.tar.gz
60+
tar -xf main.tar.gz
61+
mv MassBank-data-main ../data/massbank-data/
62+
rm main.tar.gz
63+
5664
Now use _docker compose_ to start the system (in daemon mode):
5765

5866
docker compose up -d

0 commit comments

Comments
 (0)