Skip to content

Commit ab65fea

Browse files
committed
Improve docs
1 parent 867678c commit ab65fea

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,3 +760,24 @@ To run the docker tests run "build_all.sh" and "run_all.sh" from the docker dire
760760
sqlsrv: skipped, driver not loaded
761761

762762
The above test run (including starting up the databases) takes less than one minute on my machine.
763+
764+
$ ./run.sh
765+
1) debian9
766+
2) ubuntu16
767+
3) ubuntu18
768+
> 3
769+
================================================
770+
Ubuntu 18.04
771+
================================================
772+
[1/4] Starting MySQL 5.7 ........ done
773+
[2/4] Starting PostgreSQL 10.4 .. done
774+
[3/4] Starting SQLServer 2017 ... skipped
775+
[4/4] Cloning PHP-CRUD-API v2 ... skipped
776+
------------------------------------------------
777+
mysql: 84 tests ran in 2899 ms, 0 failed
778+
pgsql: 84 tests ran in 380 ms, 0 failed
779+
sqlsrv: skipped, driver not loaded
780+
root@b7ab9472e08f:/php-crud-api#
781+
782+
As you can see the "run.sh" script gives you access to a prompt in the docker environment where the
783+
local files are mounted. This allows for easy debugging on different environments.

0 commit comments

Comments
 (0)