File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ The Nginx Log file is stored in the `logs/nginx` directory.
389389However to view the logs of all the other containers (MySQL, PHP-FPM,...) you can run this :
390390
391391` ` ` bash
392- docker logs {container-id }
392+ docker logs {container-name }
393393` ` `
394394
395395
@@ -454,7 +454,7 @@ composer require predis/predis:^1.0
4544542 - enter any container using :
455455
456456` ` ` bash
457- docker exec -it {container-name-or-id } bash
457+ docker exec -it {container-name} bash
458458` ` `
4594593 - to exit a container, type `exit`.
460460
Original file line number Diff line number Diff line change @@ -42,7 +42,10 @@ RUN curl -s http://getcomposer.org/installer | php \
4242RUN composer.phar global require "laravel/installer" \
4343 && echo "export PATH='~/.composer/vendor/bin:$PATH'" >> ~/.bashrc
4444
45- # Source the bashrc to apply updates
45+ # Add an alias for PHPUnit
46+ RUN echo "alias phpunit='./vendor/bin/phpunit'" >> ~/.bashrc
47+
48+ # Source the bash
4649RUN . ~/.bashrc
4750
4851# Clean up
You can’t perform that action at this time.
0 commit comments