Scholars Angular is a frontend application for exposing VIVO content that is being served via Scholars Discovery.
In addition to having Docker installed, a running Scholars Discovery is also required.
docker build -t scholars/angular .
docker run -d -p 4200:4200 \
-e HOST=localhost \
-e PORT=4200 \
-e BASE_HREF=/ \
-e BROKER_URL="ws://localhost:9000" \
-e SERVICE_URL="http://localhost:9000" \
-e SSR_SERVICE_URL="http://127.0.0.1:9000" \
-e EMBED_URL="http://localhost:4201" \
-e UI_URL="http://localhost:4200" \
-e VIVO_URL="http://localhost:8080/vivo" \
-e VIVO_EDITOR_URL="http://localhost:8080/vivo_editor" \
-e COLLECT_SEARCH_STATS=false \
scholars/angular
Above environment variables passed into the container are defaults. URLs must be enclosed in double quotes. BASE_HREF must start and end with a forward slash.
A successful installation should result in the Scholars Angular site at: http://localhost:4200/