File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments