Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
otis22 committed Jan 5, 2021
1 parent dd8978d commit 439f32e
Showing 1 changed file with 33 additions and 22 deletions.
55 changes: 33 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,30 +29,41 @@ echo url('myclinic')->asString();
```
Where 'myclinic' is first part from your clinic url. $domain.vetmanager.ru and "vetmanager.ru" is a variable

## For contributors
### Local work
```
cd docker
docker-compose up
```
now you can connect to terminal
## Contributing

For run all tests
```shell
make all
```
docker exec -it vetmanager-url /bin/bash
or connect to terminal
```shell
make exec
```
### Run tests
*Dafault php version is 7.4*. Use PHP_VERSION= for using custom version.
```shell
make all PHP_VERSION=8.0
# run both
make all PHP_VERSION=7.4 && make all PHP_VERSION=8.0
```
#run all
composer check-all

#security check
composer security
*For integration tests copy .env.example to .env and fill with yours values*

#check code style
composer check-style
#analyze code
composer check-static-analyze
#run unit tests
composer unit
```
all commands
```shell
# security check
make security
# composer install
make install
# composer install with --no-dev
make install-no-dev
# check code style
make style
# run static analyze tools
make static-analyze
# run unit tests
make unit
# check coverage
make coverage
# check integration, .env required
make integration
```

0 comments on commit 439f32e

Please sign in to comment.