Add "Unix/Windows" support for shell command

This commit is contained in:
Ariel Safari 2020-08-01 22:24:59 +03:00 committed by GitHub
parent 9f31a47053
commit 576913d1cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,7 @@ So, let's do it!
1. Make sure you don't have any previous `getting-started` containers running.
1. Run the following command. We'll explain what's going on afterwards:
=== "Unix"
```bash
docker run -dp 3000:3000 \
@ -45,7 +46,7 @@ So, let's do it!
sh -c "yarn install && yarn run dev"
```
If you are using PowerShell then use this command.
=== "Windows"
```powershell
docker run -dp 3000:3000 `