consent-ui is an angularJS application that requires running consent and consent-ontology services.
To run the consent-ui app:
-
Check out code:
git clone [email protected]:broadinstitute/consent-ui.git cd consent-ui
-
Pull configurations from broadinstitute/firecloud-develop, local branch, or generate manually.
Fromfirecloud-develop
:RUN_CONTEXT=local APP_NAME=consent-ui ENV=dev OUTPUT_DIR=$PWD/../consent-ui/config ./configure.rb
-
One time commands - only need to install npm once and build once:
brew install npm npm install
-
Run the docker compose file:
npm run up
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