Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hxtree committed Sep 15, 2021
1 parent 10d287c commit b12d3f9
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ For local package development use [Docker](https://www.docker.com/products/docke
git clone https://github.com/Ouxsoft/LuckByDice.git
cd LuckByDice
```

**Standard container**
```
docker build --target standard --tag luckbydice:latest -f Dockerfile .
Expand All @@ -95,19 +96,19 @@ docker run -it luckbydice:latest php tests/src/Feature/Cli.php 6d6
docker build --target test --tag luckbydice:latest -f Dockerfile .
docker run -it --mount type=bind,source="$(pwd)"/,target=/application/ luckbydice:latest composer install
# Run Feature CLI Test using local volume
# Feature CLI Test using local volume
docker run -it --mount type=bind,source="$(pwd)"/,target=/application/ luckbydice:latest php tests/src/Feature/Cli.php 1d10+4*2 0
# Run Interactive Tests server
# Interactive Tests server avaliable at http://localhost/
docker run -it -p 80:80 --mount type=bind,source="$(pwd)"/,target=/application luckbydice:latest bash -c 'cd tests/src/Interactive && php -S 0.0.0.0:80'
# Then vist http://localhost/chart.html
# Run Unit Tests using local volume
# Unit Tests using local volume
docker run -it --mount type=bind,source="$(pwd)"/,target=/application/ luckbydice:latest composer test
# Run Benchmark Tests using local volume
# Benchmark Tests using local volume
docker run -it --mount type=bind,source="$(pwd)"/,target=/application/ luckbydice:latest ./vendor/bin/phpbench run tests/src/Benchmark --report=default
```

**Docs container**
```
# Build Docs
Expand Down

0 comments on commit b12d3f9

Please sign in to comment.