From 71a3a72c05e3b803269d5fe0b221230b40c44aee Mon Sep 17 00:00:00 2001 From: Nick Yeoman Date: Sat, 17 Dec 2022 14:29:39 -0800 Subject: [PATCH] Documentation update mostly * readme added requriements * script added mailer (unfinished) * man docker * man security * added man easyadmin --- README.md | 8 ++++++++ bin/nysymfony | 1 + docs/Docker.md | 3 ++- docs/EasyAdmin.md | 6 ++++++ docs/Security.md | 2 +- 5 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 docs/EasyAdmin.md diff --git a/README.md b/README.md index c2fff0a..efc60c2 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,13 @@ # symfony +## Requirements + +* [Install Composer](https://www.nickyeoman.com/page/install-composer-on-ubuntu) (sudo nala install php-curl php-xml php-mysql) +* [Symfony cli](https://symfony.com/download) +* php-cli + +## Create your Project + I needed a faster install (don't do anything twice). Just change "YOUR_PROJECT_NAME" to whatever you want. diff --git a/bin/nysymfony b/bin/nysymfony index 41cd708..c5e4ea2 100755 --- a/bin/nysymfony +++ b/bin/nysymfony @@ -76,6 +76,7 @@ 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 sensio/framework-extra-bundle +composer req symfony/mailer ################################################################################ # Symfony development bundles diff --git a/docs/Docker.md b/docs/Docker.md index 82aad32..1bffcb2 100644 --- a/docs/Docker.md +++ b/docs/Docker.md @@ -1,8 +1,9 @@ # Docker Docs -You should be able to manually parse the docker compose file. +You should be able to manually configure the docker compose file base on your requirements. ## console + How to run with docker: ```bash sudo docker-compose run php bin/console doctrine:migrations:migrate diff --git a/docs/EasyAdmin.md b/docs/EasyAdmin.md new file mode 100644 index 0000000..4758412 --- /dev/null +++ b/docs/EasyAdmin.md @@ -0,0 +1,6 @@ +# EasyAdmin Bundle + +Symfony 6 +Admin Bundle 4 + +https://www.youtube.com/playlist?list=PLrVW8QdFhIiA1da1zOhnhmAMqYoeyGKxV diff --git a/docs/Security.md b/docs/Security.md index 2f4f167..c717273 100644 --- a/docs/Security.md +++ b/docs/Security.md @@ -31,7 +31,7 @@ form_login: login_path: app_login check_path: app_login ``` -to the firewalls section of config/packages/security.yaml +to the firewalls section under main of config/packages/security.yaml ### Modify the controller