Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 926 Bytes

README.md

File metadata and controls

37 lines (27 loc) · 926 Bytes

ACCESS

This is the frontend of ACCESS. ACCESS is a user access managment tool. It is used to both store and manage user authentication and access criteria info of users added to the system, specifically for members of BDC. ACCESS, specifically, is managing access to studies and datasets for its users.

Running locally

Run the following commands:

export PORT=8000
export SKIP_PREFLIGHT_CHECK=true
export REACT_APP_REDIRECT_URL=http://localhost:8000/login
export REACT_APP_CLIENT_ID=<YOURCLIENTIDHERE>
npm start

Running with Docker

  1. Set up your credentials locally in .env.development.local
REACT_APP_CLIENT_ID=<YOURCLIENTIDHERE>
REACT_APP_REDIRECT_URL=http://localhost:8000/login
  1. Build the container
docker build -t access .
  1. Run the container
docker run --rm -p 8000:8000 -v "$PWD"/src:/app/src -ti access
  1. Navigate to http://localhost:8000 in your browser.