This repo combines all the components of the back- and front- end to provide a seamless integration and workflow. It integrates Docker workflow to run the APHRC no-code APP.
- Install Docker
- Ensure the docker is running
- Clone the repo
Window users can also run the APP via WSL. See WSL for installation instructions.
From the terminal
run:
Build docker image
-
Choose whether to rebuild the image or use old image. The default (Enter) will check if the image exists and do nothing, otherwise rebuild.
make build
Start a container
-
Choose whether to run local image or Dockerhub image. The default (Enter) will prioritize local.
make run
Stop running container
make stop
-
Create account in Docker Hub
-
Login to Docker Hub from your local machine
docker login
-
Change the
DOCKERHUB_USERNAME = scygu
variable in the Makefile or Makefile.cmd and Docker compose file by replacingscygu
withyour_dockerhub_username
(Docker hub user name). Thenmake push
For Windows OS, navigate to the directory containing Makefile.cmd and open cmd
, then for all the commands above, replace make
with Makefile.cmd
, e.g., to build image
Makefile.cmd build
-
For help on available commands
make help