From 2e02b3e5242b1d4fbe3ff7b6020bd535e9fc5a93 Mon Sep 17 00:00:00 2001 From: Rick Elrod Date: Oct 10 2019 00:10:27 +0000 Subject: Merge branch 'master' of ssh://pagure.io/fedora-docs/websites --- diff --git a/modules/ROOT/pages/setup-docker.adoc b/modules/ROOT/pages/setup-docker.adoc index a798846..4f927ef 100644 --- a/modules/ROOT/pages/setup-docker.adoc +++ b/modules/ROOT/pages/setup-docker.adoc @@ -46,17 +46,9 @@ the container: [source,bash] ---- -sudo docker run --rm -v "$(pwd):/opt/:z" fedora-websites ./scripts/pull-translations.sh +sudo docker run -it --rm -v "$(pwd):/opt/:z" fedora-websites ./scripts/pull-translations.sh ---- -[NOTE] -==== -This might take some time, and due to STDOUT buffering from Docker, it -might look odd for a while (writing partial lines to your terminal -until it is done). Just be patient and it should hopefully finish -within a minute or so. -==== - Notice here that we are mounting a volume (`-v`) in Docker which points to our check-out of the repository. We're referring to the @@ -69,7 +61,7 @@ Now we are ready to run the development server: [source,bash] ---- -sudo docker run --rm -v "$(pwd):/opt/:z" -p 5000:5000 fedora-websites flask run --reload --host 0.0.0.0 +sudo docker run -it --rm -v "$(pwd):/opt/:z" -p 5000:5000 fedora-websites flask run --reload --host 0.0.0.0 ---- Note that we need `-p 5000:5000` so that we can access the development