From 488afbca2a510a51749cacb4d19882868d999783 Mon Sep 17 00:00:00 2001 From: Nick Yeoman Date: Wed, 16 Nov 2022 20:02:30 -0800 Subject: [PATCH] added documentation --- bash/newProject.bash | 12 ++++++++++++ docs/Console.md | 9 +++++++++ docs/{database.md => Database.md} | 0 docs/Security.md | 1 + docs/console.md | 0 5 files changed, 22 insertions(+) create mode 100644 docs/Console.md rename docs/{database.md => Database.md} (100%) create mode 100644 docs/Security.md delete mode 100644 docs/console.md diff --git a/bash/newProject.bash b/bash/newProject.bash index 5d22d8d..984968e 100644 --- a/bash/newProject.bash +++ b/bash/newProject.bash @@ -76,6 +76,11 @@ echo "SASS installed you still need to run sass sass/$1.sass public/css/main.css composer req symfony/process composer req asset composer req annotations +composer req symfony/apache-pack + +# untested +composer require symfony/security-bundle + # Dev components composer req --dev maker @@ -122,6 +127,13 @@ composer req -n orm && sleep 1 # ( but not here if you are sharing the script) # sed -n -e '/^DATABASE_URL/p' .env +################################################################################ +# Git +################################################################################ + +git add . +git commit -m"New Project Script Run Completed" + ################################################################################ # Instructions ################################################################################ diff --git a/docs/Console.md b/docs/Console.md new file mode 100644 index 0000000..3685728 --- /dev/null +++ b/docs/Console.md @@ -0,0 +1,9 @@ +# bin console cheat sheet + +## about + +Checks the version, support, kernel and php + +## version + +php bin/console --version \ No newline at end of file diff --git a/docs/database.md b/docs/Database.md similarity index 100% rename from docs/database.md rename to docs/Database.md diff --git a/docs/Security.md b/docs/Security.md new file mode 100644 index 0000000..a455791 --- /dev/null +++ b/docs/Security.md @@ -0,0 +1 @@ +https://symfony.com/doc/current/security.html diff --git a/docs/console.md b/docs/console.md deleted file mode 100644 index e69de29..0000000