File tree 2 files changed +35
-0
lines changed
2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,24 @@ and thats it.
80
80
81
81
----------------------------------------------------------------------------------------------------------------------------
82
82
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
+
83
101
## Examples
84
102
85
103
### The * Hello World* example.
Original file line number Diff line number Diff line change @@ -76,6 +76,23 @@ E execute o comando:
76
76
77
77
é isso, você tem a biblioteca instalada e pronta para uso.
78
78
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
+
79
96
----------------------------------------------------------------------------------------------------------------------------
80
97
81
98
## Exemplos
You can’t perform that action at this time.
0 commit comments