Skip to content

Commit

Permalink
docs: use /app as standard example working directory (#1254)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcC399 authored Nov 25, 2024
1 parent a677bf3 commit 5e4b67c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ In this example we first run the unchanged image `cypress/base` as a container:
```shell
cd examples/basic # Use a pre-configured simple Cypress E2E project
npm ci # Install Cypress
docker run -it --rm -v .:/e2e -w /e2e cypress/base # Run image as container
docker run -it --rm -v .:/app -w /app cypress/base # Run image as container
```

At the `bash` prompt `:/e2e#`, we can then enter the following commands:
At the `bash` prompt `:/app#`, we can then enter the following commands:

```shell
npx cypress install # Install Cypress binary into running Docker container
Expand Down
4 changes: 2 additions & 2 deletions browsers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ In this example we first run the unchanged image `cypress/browsers` as a contain
```shell
cd examples/basic # Use a pre-configured simple Cypress E2E project
npm ci # Install Cypress
docker run -it --rm -v .:/e2e -w /e2e cypress/browsers # Run image as container
docker run -it --rm -v .:/app -w /app cypress/browsers # Run image as container
```

At the `bash` prompt `:/e2e#`, we can then enter the following commands:
At the `bash` prompt `:/app#`, we can then enter the following commands:

```shell
npx cypress install # Install Cypress binary into running Docker container
Expand Down
4 changes: 2 additions & 2 deletions examples/chromium/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ In this example we first run the unchanged image `cypress/base` as a container:
```shell
cd examples/chromium # Use a pre-configured simple Cypress E2E project
npm ci # Install Cypress
docker run -it --rm -v .:/e2e -w /e2e cypress/base # Run image as container
docker run -it --rm -v .:/app -w /app cypress/base # Run image as container
```

At the `bash` prompt `:/e2e#`, we can then enter the following commands:
At the `bash` prompt `:/app#`, we can then enter the following commands:

```shell
apt-get update # Update package index
Expand Down
4 changes: 2 additions & 2 deletions examples/firefox-esr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ In this example we first run the unchanged image `cypress/base` as a container:
```shell
cd examples/firefox-esr # Use a pre-configured simple Cypress E2E project
npm ci # Install Cypress
docker run -it --rm -v .:/e2e -w /e2e cypress/base # Run image as container
docker run -it --rm -v .:/app -w /app cypress/base # Run image as container
```

At the `bash` prompt `:/e2e#`, we can then enter the following commands:
At the `bash` prompt `:/app#`, we can then enter the following commands:

```shell
apt-get update # Update package index
Expand Down

0 comments on commit 5e4b67c

Please sign in to comment.