Skip to content

Commit

Permalink
update: docs -> PHPJasper with Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
geekcom committed Feb 22, 2019
1 parent 401cf77 commit ef5cad7
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,24 @@ and thats it.

----------------------------------------------------------------------------------------------------------------------------

## PHPJasper with Docker

With Docker CE and docker-compose installed just run:

* `docker-compose up -d`
* `docker exec -it phpjasper composer install`

To execute tests:

* `docker exec -it phpjasper ./vendor/bin/phpunit` or
* `docker exec -it phpjasper ./vendor/bin/phpunit --testdox`

To see coverage of tests execute the file: `/tests/codeCoverage/html/dashboard.html`

_Help us writing new tests, make a fork_ :)

----------------------------------------------------------------------------------------------------------------------------

## Examples

### The *Hello World* example.
Expand Down
17 changes: 17 additions & 0 deletions docs/pt_BR/LEIA-ME_pt_BR.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,23 @@ E execute o comando:

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

----------------------------------------------------------------------------------------------------------------------------
## PHPJasper com Docker

Com o Docker CE e o docker-compose instalados basta executar os comandos:

* `docker-compose up -d`
* `docker exec -it phpjasper composer install`

Para rodar os testes dentro do container execute:

* `docker exec -it phpjasper ./vendor/bin/phpunit` ou
* `docker exec -it phpjasper ./vendor/bin/phpunit --testdox`

Para ver o coverage basta executar o arquivo: `/tests/codeCoverage/html/dashboard.html`

_Ajude-nos escrevendo novos testes, faça um fork_ :)

----------------------------------------------------------------------------------------------------------------------------

## Exemplos
Expand Down

0 comments on commit ef5cad7

Please sign in to comment.