diff --git a/README.md b/README.md index ba3abea976db4e02aab060a11e569bbf11e554d2..78728bac7d3f63793c4d2377391c32459852f8f7 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ Training PHPUnit ================ -Run the docker --------------- +Runing it inside docker +------------------------ ```bash docker build . -t phpunit:test @@ -20,6 +20,21 @@ mv ../composer.phar . ./composer.phar install ``` +Running it with PHP directly +---------------------------- + +### Installation + +```bash +composer install +``` + +### Run + +``` +bin/console server:run +``` + Faire un test PHPUnit simple ---------------------------- @@ -32,6 +47,7 @@ Faire un test PHPUnit simple https://www.youtube.com/watch?v=ubrLxJrtcX0 https://www.youtube.com/watch?v=dpciZ0D-Hhc&index=3&list=RDGMEMYH9CUrFO7CfLJpaD7UR85wVMeY_B8jW2Sws ``` + Faire un test PHPUnit fonctionnel --------------------------------- @@ -52,4 +68,4 @@ Problèmes de limitation avec Github 1. Aller à https://github.com/settings/tokens 2. Créer un token -3. Copier le token pour lancer la commande `./composer.phar config -g github-oauth.github.com [token]` \ No newline at end of file +3. Copier le token pour lancer la commande `./composer.phar config -g github-oauth.github.com [token]`