Skip to content

Commit 0c21618

Browse files
committed
fix: updated Contributing file with testing indications
1 parent cdc4b54 commit 0c21618

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,18 @@ You can now hack in the cloned repository of `client-generator`. If you want to
3535

3636
### Testing your changes
3737

38+
To test your changes, generate a client in a `pwa` directory of an api-platform distribution:
39+
40+
```console
41+
$ git clean -df && NODE_TLS_REJECT_UNAUTHORIZED=0 <absolutePathOfYourClonedRepo>/lib/index.js https://localhost/ .
42+
```
43+
44+
and see the `pwa` logs:
45+
46+
```console
47+
$ docker-compose logs -f pwa
48+
```
49+
3850
Before sending a Pull Request, make sure the tests pass correctly:
3951

4052
```console

0 commit comments

Comments
 (0)