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
- export HTTP_PROXY=http://proxy.swmed.edu:3128
- export HTTPS_PROXY=http://proxy.swmed.edu:3128
create .zshrc fire
-
nano ~/.zshrc
-
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
-
hit ctrl+X
-
type y
-
hit return
actually building the docker according to HON git repo with added proxy
- Please download and install the appropriate docker version for your OS here.
- Git clone or download and unzip this git repo.
- cd /"path_to_app_code"
- docker-compose build
- docker-compose -f docker-compose.prod.yml build
- docker-compose -f docker-compose.prod.yml up -d
- if start for the first time: docker exec -it HON_prod flask init-app
- 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 |