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