From d162e456a6a0e92d49e8c1bafbd73283a1c4728a Mon Sep 17 00:00:00 2001 From: Nick Yeoman Date: Sun, 18 Dec 2022 01:37:39 -0800 Subject: [PATCH] documentaiton --- docs/Console.md | 2 ++ docs/Database.md | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/Console.md b/docs/Console.md index 28a75b6..1107092 100644 --- a/docs/Console.md +++ b/docs/Console.md @@ -16,6 +16,8 @@ php bin/console security:hash-password composer dump-autoload +fixes a lot of problems: ```symfony console cache:clear``` + To view the namespaces symfony creates for twig: php bin/console debug:twig ## Installed Recipes diff --git a/docs/Database.md b/docs/Database.md index 7fd7cbb..159538c 100644 --- a/docs/Database.md +++ b/docs/Database.md @@ -21,7 +21,7 @@ The system is smart enough not to duplicate work. To create a migration from the entity, run: ```bash -php bin/console make:migration +sudo docker-compose run php bin/console make:migration ``` A file will be created in the migrations folder. @@ -29,7 +29,7 @@ A file will be created in the migrations folder. ## Part 3 - Create the table (run migration) ```bash -php bin/console doctrine:migrations:migrate +sudo docker-compose run php php bin/console doctrine:migrations:migrate ``` ## References