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
+32-10Lines changed: 32 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -60,8 +60,6 @@ Now use _docker compose_ to start the system (in daemon mode):
60
60
> [!NOTE]
61
61
> Initially, the property _MB_DB_INIT_ is set to _true_. Change that value to _false_ after the database was filled within the first start. The database filling takes some time. The _mb3tool_ service is responsible for that and stops after finishing that task.
62
62
63
-
The frontend can (by default) be accessed in the webbrowser at http://localhost:8080/MassBank/.
64
-
65
63
To stop the system use:
66
64
67
65
docker compose down -v
@@ -80,6 +78,22 @@ The _DISTRIBUTOR_TEXT_ property is a free text field to insert any description o
80
78
81
79
And _DISTRIBUTOR_URL_ should contain the URL to the distributor's imprint/website.
82
80
81
+
#### Title in Browser Tab
82
+
83
+
To customise the title in the web browser change the _MB3_FRONTEND_BROWSER_TAB_TITLE_ property.
84
+
85
+
#### Introduction/Welcome Text
86
+
87
+
A substitution of the text below the MassBank logo on the homepage is possible via editing _MB3_FRONTEND_HOMEPAGE_INTRO_TEXT_.
88
+
89
+
#### Overwrite/Disable the News and Funding Section on Homepage
90
+
91
+
Both _MB3_FRONTEND_HOMEPAGE_NEWS_SECTION_TEXT_ and _MB3_FRONTEND_HOMEPAGE_FUNDING_SECTION_TEXT_ can be non-empty strings to replace the news and funding section content on the homepage with a free text. Set the value "disabled" to disable a section.
92
+
93
+
#### Add additional Section to Homepage
94
+
95
+
To enable a custom section with free text content set the variable _MB3_FRONTEND_HOMEPAGE_ADDITIONAL_SECTION_NAME_ and _MB3_FRONTEND_HOMEPAGE_ADDITIONAL_SECTION_TEXT_. As the names indicate, the first stands for the section name while the latter is the text to fill that section.
96
+
83
97
### Troubleshooting
84
98
85
99
In case your system is different from linux/amd64 then a warning might appear after starting docker compose:
@@ -94,11 +108,19 @@ Add the following properties to _postgres_, _similarity-service_ and _export-ser
94
108
95
109
Description is coming soon.
96
110
111
+
# Frontend
112
+
113
+
The frontend can by default be accessed in the webbrowser at http://localhost:8080/MassBank and is composed via:
There is a [graphical interface](https://msbi.ipb-halle.de/MassBank-api/ui/) by means of Swagger UI to have insights into the different API endpoints and their specifications at our test instance.
100
120
101
-
To access this on your running instance, just visit the API URL in the browser. By default it is http://localhost:8081 and is defined by the environment variable _MB3_API_URL_.
121
+
To access this on your running instance, just visit the API URL in the browser. By default it is http://localhost:8081/MassBank-api and is defined by the environment variable _MB3_API_URL_ and concatenated via:
The result is a set of MassBank record IDs (accessions) and the corresponding similarity score in JSON format. The calculation is done by the [matchms](https://github.com/matchms/matchms) package used in our [similarity service](https://github.com/MassBank/MassBank3-similarity-service).
0 commit comments