From 3d99fa08055e43ded2d5335174ca1414a69c4f32 Mon Sep 17 00:00:00 2001
From: kdaud
macOS | Linux | -
- ```bash docker compose -p $DISTRO_GROUP up ``` - | -- -```bash -sudo -E docker compose -p $DISTRO_GROUP up -``` - | -
-**Important:** This assumes that you run the `docker` command as the same user and in the same window in which you exported your variables. On Linux we advise to run `docker` with `sudo -E` option to preserve the user environment. See [Docker on Linux Post-install steps](https://docs.docker.com/engine/install/linux-postinstall/) +**Important:** This assumes that you run the `docker` command as the same user and in the same window in which you exported your variables. If Docker is run as `sudo`, the variables won't have an effect. Make sure to either export them as root, or run `docker` with `sudo -E` option to preserve the user environment ### Access the servers: @@ -262,7 +247,7 @@ watch rsync -av ~/repos/openmrs-module-bahmniapps/ui/ /tmp/bahmni-distro-haiti/b ### Debug the Java apps -The Java apps (OpenMRS, Bahmni Reports, Odoo Connect...) can be remote debugged very simply by setting a the `DEBUG: "true"` environment variable to the service. +The Java apps (OpenMRS, Bahmni Reports, Odoo Connect...) can be remote debugged very simply by setting a `DEBUG: "true"` environment variable to the service. Don't forget to open the port `8000` on the service as well: Eg: