From a0e59a68b080a5edde0bcf3e2e4c8ffd8ec9b752 Mon Sep 17 00:00:00 2001 From: rolyli Date: Mon, 4 Oct 2021 10:51:23 +0100 Subject: [PATCH] Update style inconsistencies for code prompts in get-started (#13580) * Fix style inconsistencies for powershell code in get-started * Fix style inconsistencies for powershell code in get-started --- get-started/06_bind_mounts.md | 2 +- get-started/08_using_compose.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/get-started/06_bind_mounts.md b/get-started/06_bind_mounts.md index 79ea87ddcd..741f2ea978 100644 --- a/get-started/06_bind_mounts.md +++ b/get-started/06_bind_mounts.md @@ -52,7 +52,7 @@ So, let's do it! If you are using PowerShell then use this command: ```powershell - docker run -dp 3000:3000 ` + PS> docker run -dp 3000:3000 ` -w /app -v "$(pwd):/app" ` node:12-alpine ` sh -c "yarn install && yarn run dev" diff --git a/get-started/08_using_compose.md b/get-started/08_using_compose.md index 62af7e919f..048aeb9ae1 100644 --- a/get-started/08_using_compose.md +++ b/get-started/08_using_compose.md @@ -65,10 +65,10 @@ $ docker run -dp 3000:3000 \ sh -c "yarn install && yarn run dev" ``` -If you are using PowerShell then use this command. +If you are using PowerShell then use this command: ```powershell -docker run -dp 3000:3000 ` +PS> docker run -dp 3000:3000 ` -w /app -v "$(pwd):/app" ` --network todo-app ` -e MYSQL_HOST=mysql ` @@ -171,10 +171,10 @@ $ docker run -d \ mysql:5.7 ``` -If you are using PowerShell then use this command. +If you are using PowerShell then use this command: ```powershell -docker run -d ` +PS> docker run -d ` --network todo-app --network-alias mysql ` -v todo-mysql-data:/var/lib/mysql ` -e MYSQL_ROOT_PASSWORD=secret `