From 6e2aa827e0938d1784fb69dfffc805021461d417 Mon Sep 17 00:00:00 2001 From: Maxime Veber <nek.dev@gmail.com> Date: Wed, 24 Jan 2018 00:29:43 +0100 Subject: [PATCH] Fix README --- README.md | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ba3abea..78728ba 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]` -- GitLab