From 6d60eb1ebde946f9da9c7d36c6933b6e5e737c83 Mon Sep 17 00:00:00 2001 From: paulalbert1 Date: Fri, 22 Jan 2021 14:59:03 -0500 Subject: [PATCH 1/2] Update README.md --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f8f5f0a..ea9d8ce 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,16 @@ This tool has several advantages over using the Scopus API alone: - The Scopus API sometimes creates redundant author objects or otherwise doesn’t properly assign sequence numbers to authors. This tool addresses both problems. +## Prerequisites + +- Java 11 +- Latest version of Maven. To install Maven navigate to the directory where ReCiter Scopus Retrieval Tool will be installed, execute `brew install maven` and then `mvn clean install` +If you want to use Java 8 then update `1.8` in [pom.xml](https://github.com/wcmc-its/ReCiter-Scopus-Retrieval-Tool/blob/59b12e33edf744afe4431f3e4d35e5ba16821b09/pom.xml#L18) + +It is not necessary to install ReCiter in order to use the API. + + + ## Installing @@ -51,7 +61,7 @@ This tool has several advantages over using the Scopus API alone: - Option #1: Set at the system level using this command `export SERVER_PORT=[your port number]`. This supersedes any ports set in application.properties. - Option #2: Update the application.properties file located at `/src/main/resources/` Make sure the port doesn't conflict with other services such as ReCiter or ReCiter PubMed Retrieval Tool. 7. Build Maven instance `mvn spring-boot:run` -8. Visit `http://localhost:[your port number]/swagger-ui.html` to see the Swagger page for this service. +8. Visit `http://localhost:[your port number]/swagger-ui/index.html` or `http://localhost:[your port number]/swagger-ui/` to see the Swagger page for this service. ## Obtaining an API key and INST_TOKEN From fa3faa897aa7ab3f4016769bfc56576da7f9e607 Mon Sep 17 00:00:00 2001 From: Sarbajit Dutta Date: Thu, 4 Feb 2021 11:31:49 -0500 Subject: [PATCH 2/2] update to more secure image --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8848d42..f217ea7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:11-jre-slim +FROM adoptopenjdk/openjdk11:alpine-jre RUN mkdir -p /app WORKDIR /app