Skip to content

TAMULib/scholars-angular

 
 

Repository files navigation

Node CI with NPM Coverage Status

scholars-angular

Scholars Angular is a frontend application for exposing VIVO content that is being served via Scholars Discovery.

Installation

Prerequisites

In addition to having Docker installed, a running Scholars Discovery is also required.

Docker Deployment

  1. Install Docker
  2. Start Scholars Discovery
  3. Build the image
     docker build -t scholars/angular .
  4. Deploy the container
  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.

Verify Installation

A successful installation should result in the Scholars Angular site at: http://localhost:4200/

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 76.1%
  • HTML 11.9%
  • SCSS 6.1%
  • JavaScript 5.8%
  • Dockerfile 0.1%