You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today the installation process is written on bash script. It's difficult to maintain a complex script, it would be interesting to find a way to use a more modern programming language to run the installation.
I suggest use the The Console Component from Symfony. With a PHP we can create a more robust script. But on the one hand, PHP becomes a prerequisite together with Docker.
The great challenge is that the script should orchestrate all related containers. With this in mind, I thing the script must call the exec PHP function and call docke-compose.
Today the installation process is written on bash script. It's difficult to maintain a complex script, it would be interesting to find a way to use a more modern programming language to run the installation.
I suggest use the The Console Component from Symfony. With a PHP we can create a more robust script. But on the one hand, PHP becomes a prerequisite together with Docker.
The great challenge is that the script should orchestrate all related containers. With this in mind, I thing the script must call the
exec
PHP function and call docke-compose.To abstract we could have the following classes:
Docker.php:
Yarn.php:
Another approach would be to use access the Docker Engine API, like the reactphp-docker library.
The text was updated successfully, but these errors were encountered: