Skip to content

Commit

Permalink
Move runInDocker.sh script to root folder
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-bauer committed Oct 2, 2018
1 parent 63043df commit cc70ea1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ For more information, please see http://github.com/dirkriehle/wahlzeit and http:


### Run Wahlzeit inside a Docker container
1. Run ```docker/runInDocker.sh appengineRun```
2. Or with another Gradle task as argument, e.g. ```docker/runInDocker.sh test```
1. Run ```./runInDocker.sh appengineRun```
2. Or with another Gradle task as argument, e.g. ```./runInDocker.sh test```
3. Open [``http://localhost:8080``](http://localhost:8080) to try out Wahlzeit inside a Docker container


Expand Down
5 changes: 0 additions & 5 deletions docker/runInDocker.sh → runInDocker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ if [ ! -z "$1" ]; then
TASK="$1"
fi

CURRENT_DIR=${PWD##*/}
if [ "$CURRENT_DIR" = "docker" ]; then
cd ..
fi

docker run -it --rm --name wahlzeitJDK08 \
-v "$(pwd)":/usr/src/wahlzeit \
-w /usr/src/wahlzeit \
Expand Down

0 comments on commit cc70ea1

Please sign in to comment.