Skip to content

Commit 941e207

Browse files
committed
testing fix for issue #3
1 parent 2863112 commit 941e207

File tree

8 files changed

+5
-6
lines changed

8 files changed

+5
-6
lines changed

.dockerignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ docker-compose.yml
33
config/
44
docs/
55
dist/
6-
_sample-mocks/
6+
sample-mocks/
77
.gitignore
88
*.md
99
LICENSE

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ go build ./...
8080
3. Run the application:
8181

8282
```bash
83-
go run cmd/mock-server/main.go --mocks-directory "$(pwd)/_sample-mocks"
83+
go run cmd/mock-server/main.go --mocks-directory "$(pwd)/sample-mocks"
8484
```
8585

8686
<br />

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ Explore these features and more to streamline your API mocking workflow and acce
111111
The easiest and recommended way to run **Go Mock Server** is via **Docker**:
112112

113113
```bash
114-
docker run --name mock-server --rm -p 8080:8080 -v $(pwd)/_sample-mocks:/mocks caik/go-mock-server:latest --mocks-directory /mocks
114+
docker run --name mock-server --rm -p 8080:8080 -v $(pwd)/sample-mocks:/mocks caik/go-mock-server:latest --mocks-directory /mocks
115115
```
116116

117-
Where `$(pwd)/_sample-mocks` is the path in your host machine where you have stored the mocks files. In case you want to start the application without any pre-existing mock files, you can also omit it:
117+
Where `$(pwd)/sample-mocks` is the path in your host machine where you have stored the mocks files. In case you want to start the application without any pre-existing mock files, you can also omit it:
118118

119119
```bash
120120
docker run --name mock-server --rm -p 8080:8080 caik/go-mock-server:latest --mocks-directory /mocks

_sample-mocks/example.host.com/path1/test?query=parameter.get

-1
This file was deleted.

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
ports:
1111
- "8080:8080"
1212
volumes:
13-
- ./_sample-mocks/:/mocks
13+
- ./sample-mocks/:/mocks
1414
command:
1515
- --mocks-directory
1616
- /mocks

0 commit comments

Comments
 (0)