diff --git a/README.md b/README.md index 433e102..fe782f5 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ cd ~/ Then create the working directory and save the path: ``` export BAHMNI_DIR=$PWD/bahmni && \ -mkdir $BAHMNI_DIR +mkdir $BAHMNI_DIR && cd $BAHMNI_DIR ``` ### Download the Docker Compose project itself: @@ -66,10 +66,29 @@ The complete list of available variables can be found in [.env](.env). ### Start Bahmni: + + + + + + + + +
macOS Linux
+ +```bash +docker compose -p $DISTRO_GROUP up ``` -cd $BAHMNI_DIR/bahmni-docker-compose-$VERSION && \ -docker-compose -p $DISTRO_GROUP up + + + +```bash +sudo -E docker compose -p $DISTRO_GROUP up ``` +
+ +**Note:** On Linux we advise to run `docker` with `sudo -E` option to preserve the user environment as `su`. See also ['Post-installation steps for Linux'](https://docs.docker.com/engine/install/linux-postinstall/) for more details. +

docker-compose up