From 673125274e77c3f2b02c886b512f184db08e106e Mon Sep 17 00:00:00 2001 From: Nick Yeoman Date: Fri, 18 Nov 2022 00:06:26 -0800 Subject: [PATCH] docker doc --- bash/newProject.bash | 3 ++- docs/Docker.md | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/bash/newProject.bash b/bash/newProject.bash index 74451c5..f1184f6 100644 --- a/bash/newProject.bash +++ b/bash/newProject.bash @@ -109,7 +109,8 @@ composer req -n orm && sleep 1 ################################################################################ # For the Apache container -composer req -n symfony/apache-pack +composer req symfony/apache-pack +#TODO: find a way to trigger this without interaction # You need the following variables in your env for docker-compose echo '' >> .env diff --git a/docs/Docker.md b/docs/Docker.md index 0babe4b..1f47851 100644 --- a/docs/Docker.md +++ b/docs/Docker.md @@ -1,3 +1,9 @@ # Docker Docs -You should be able to manually parse the docker compose file. \ No newline at end of file +You should be able to manually parse the docker compose file. + +## console +How to run with docker: +```bash +sudo docker-compose run php bin/console doctrine:migrations:migrate +``` \ No newline at end of file