Dev environment with Symfony and docker
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
art.dambrine 3123c1ac8d fix using composer native and fix php & nginx conf 4 years ago
docker fix using composer native and fix php & nginx conf 4 years ago
.gitignore fix using composer native and fix php & nginx conf 4 years ago
docker-compose.yml fix using composer native and fix php & nginx conf 4 years ago
init.sh fix using composer native and fix php & nginx conf 4 years ago
readme.md fix using composer native and fix php & nginx conf 4 years ago

readme.md

Mise en place rapide d'un projet symfony avec docker

Installez composer : https://getcomposer.org/doc/00-intro.md

Initialisation du projet

./init.sh

WARNING : respectez le nom de projet src du init.sh (important pour l'usage de la conf docker)

Pour lancer votre environnement de dev

docker-compose up

Laissez tourner le serveur dans votre terminal (ctrl-c pour l'arrêter). Sinon docker-compose up -d pour lancer en tâche de fond

Executer des scripts php bin/console

docker exec -ti <NAME_MON_CONTAINER_PHP> php bin/console make:controller