Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

DataBiosphere/consent-ui

Repository files navigation

Consent-UI

Build Status

consent-ui is an angularJS application that requires running consent and consent-ontology services.

To run the consent-ui app:

  1. Check out code:

    git clone git@github.com:broadinstitute/consent-ui.git
    cd consent-ui
  2. Pull configurations from broadinstitute/firecloud-develop, local branch, or generate manually.
    From firecloud-develop:

    RUN_CONTEXT=local APP_NAME=consent-ui ENV=dev OUTPUT_DIR=$PWD/../consent-ui/config ./configure.rb
  3. One time commands - only need to install npm once and build once:

    brew install npm
    npm install
  4. Run the docker compose file:

    npm run up

Docker

Consent-UI is packaged into a docker image that is stored in the cloud in the Consent-UI Dockerhub Repo.

# to build the consent-ui image
./build.sh -d build

# to build the consent-ui image and push it to dockerhub
./build.sh -d push

# to pull the image from dockerhub
docker pull broadinstitute/consent-ui