Skip to content
Snippets Groups Projects
Name Last commit Last update
Prepare image names
README.md

install docker and docker-compose using

https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository

build HON docker within UTSW

Github repo https://github.com/genskeu/HON

additional steps are necessary to build HON within UTSW due to proxy and firewalls

add proxy

  1. export HTTP_PROXY=http://proxy.swmed.edu:3128
  2. export HTTPS_PROXY=http://proxy.swmed.edu:3128

create .zshrc fire

  1. nano ~/.zshrc

  2. add following lines

    export http_proxy=http://proxy.swmed.edu:3128

    export https_proxy=http://proxy.swmed.edu:3128

    export HTTP_PROXY=http://proxy.swmed.edu:3128

    export HTTPS_PROXY=http://proxy.swmed.edu:3128

  3. hit ctrl+X

  4. type y

  5. hit return

actually building the docker according to HON git repo with added proxy

  1. Please download and install the appropriate docker version for your OS here.
  2. Git clone or download and unzip this git repo.
  3. cd /"path_to_app_code"
  4. docker-compose build
  5. docker-compose -f docker-compose.prod.yml build
  6. docker-compose -f docker-compose.prod.yml up -d
  7. if start for the first time: docker exec -it HON_prod flask init-app
  8. access the app at 127.0.0.1

if it is down, just run docker-compose -f docker-compose.prod.yml up -d to bring it up

default users

username password role
user user study-participant
sadmin sadmin study-admin
uadmin uadmin user-admin