1- # MassBank3 -export-service
1+ # MassBank -export-api
22A REST interface to export MassBank records to other formats.
33
44This server was generated by the [ OpenAPI Generator] ( https://openapi-generator.tech ) project and uses
@@ -17,7 +17,7 @@ release. This directory needs to be configured in the environment variable
1717` MB_DATA_DIRECTORY ` .
1818``` bash
1919git clone https://github.com/MassBank/MassBank-data.git
20- export MB_DATA_DIRECTORY=" ./MassBank-datagi "
20+ export MB_DATA_DIRECTORY=" ./MassBank-data "
2121```
2222To configure CORS you can set the environment variable ` CORS_ALLOWED_ORIGINS ` .
2323``` bash
@@ -41,14 +41,14 @@ in the ingress-nginx-controller ConfigMap.
4141Build the service with Maven:
4242``` mvn package ```
4343Run the service:
44- ``` java -jar target/massbank3 -export-service -*.jar ```
44+ ``` java -jar target/massbank -export-api -*.jar ```
4545
4646## Run with Docker
4747To run the server in a Docker container, execute the following commands:
4848
4949``` bash
5050# Build the image
51- docker build -t massbank3 -export-service .
51+ docker build -t massbank -export-api .
5252
5353# Clone the MassBank data repository
5454git clone https://github.com/MassBank/MassBank-data.git
@@ -57,11 +57,11 @@ git clone https://github.com/MassBank/MassBank-data.git
5757docker run -p 8080:8080 \
5858-v $( pwd) /MassBank-data:/MassBank-data \
5959-e MB_DATA_DIRECTORY=' /MassBank-data' \
60- massbank3 -export-service
60+ massbank -export-api
6161```
6262
6363Prebuilt Docker images are available from
64- [ quay.io/massbank/massbank3 -export-service ] ( https://quay.io/repository/massbank/massbank3 -export-service ) .
64+ [ quay.io/massbank/massbank -export-api ] ( https://quay.io/repository/massbank/massbank -export-api ) .
6565The fastest way to get things running is:
6666``` bash
6767# Clone the MassBank data repository
@@ -71,7 +71,7 @@ git clone https://github.com/MassBank/MassBank-data.git
7171docker run -p 8080:8080 \
7272-v $( pwd) /MassBank-data:/MassBank-data \
7373-e MB_DATA_DIRECTORY=' /MassBank-data' \
74- quay.io/massbank/massbank3 -export-service :latest
74+ quay.io/massbank/massbank -export-api :latest
7575```
7676
77- For a description of the service browse to the [ Swagger UI] ( http://localhost:8080/swagger-ui/index.html ) .
77+ For a description of the api browse to the [ Swagger UI] ( http://localhost:8080/swagger-ui/index.html ) .
0 commit comments