Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
olinox14 committed Mar 26, 2024
1 parent b2227f7 commit 15c2088
Show file tree
Hide file tree
Showing 2 changed files with 153 additions and 30 deletions.
10 changes: 5 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ An intuitive and object-oriented file and path operations, inspired by the path.

docker build -t path .

# Sur Linux
# On Linux
docker run -v "$(pwd)":/path --name path path

# Sous Windows
# On Windows
docker run -d -v "%cd%:/path" --name path path

docker exec -it path bash
Expand All @@ -52,13 +52,13 @@ To install and execute the [phpdoc](https://docs.phpdoc.org/3.0/) container :

docker pull phpdoc/phpdoc

# Sur Linux
# On Linux
docker run --rm -v "$(pwd):/data" "phpdoc/phpdoc:3"

# Sous Windows
# On Windows
docker run --rm -v "%cd%:/data" "phpdoc/phpdoc:3"

Then, on linux, you could create an alias :
Then, if on linux, you may create an alias :

alias phpdoc="docker run --rm -v $(pwd):/data phpdoc/phpdoc:3"

Expand Down
Loading

0 comments on commit 15c2088

Please sign in to comment.