Skip to content

Commit 5d3bf18

Browse files
authored
Merge pull request #135 from PHPJasper/develop
Develop
2 parents 772c1e7 + e90f646 commit 5d3bf18

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,24 @@ and thats it.
8080

8181
----------------------------------------------------------------------------------------------------------------------------
8282

83+
## PHPJasper with Docker
84+
85+
With Docker CE and docker-compose installed just run:
86+
87+
* `docker-compose up -d`
88+
* `docker exec -it phpjasper composer install`
89+
90+
To execute tests:
91+
92+
* `docker exec -it phpjasper ./vendor/bin/phpunit` or
93+
* `docker exec -it phpjasper ./vendor/bin/phpunit --testdox`
94+
95+
To see coverage of tests execute the file: `/tests/codeCoverage/html/dashboard.html`
96+
97+
_Help us writing new tests, make a fork_ :)
98+
99+
----------------------------------------------------------------------------------------------------------------------------
100+
83101
## Examples
84102

85103
### The *Hello World* example.

docs/pt_BR/LEIA-ME_pt_BR.md

+17
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,23 @@ E execute o comando:
7676

7777
é isso, você tem a biblioteca instalada e pronta para uso.
7878

79+
----------------------------------------------------------------------------------------------------------------------------
80+
## PHPJasper com Docker
81+
82+
Com o Docker CE e o docker-compose instalados basta executar os comandos:
83+
84+
* `docker-compose up -d`
85+
* `docker exec -it phpjasper composer install`
86+
87+
Para rodar os testes dentro do container execute:
88+
89+
* `docker exec -it phpjasper ./vendor/bin/phpunit` ou
90+
* `docker exec -it phpjasper ./vendor/bin/phpunit --testdox`
91+
92+
Para ver o coverage basta executar o arquivo: `/tests/codeCoverage/html/dashboard.html`
93+
94+
_Ajude-nos escrevendo novos testes, faça um fork_ :)
95+
7996
----------------------------------------------------------------------------------------------------------------------------
8097

8198
## Exemplos

0 commit comments

Comments
 (0)