From 8c045c2fadbdbfa69d19ead58cc1eb606df99023 Mon Sep 17 00:00:00 2001 From: Nick Yeoman Date: Sat, 17 Dec 2022 21:11:55 -0800 Subject: [PATCH] updated install script --- README.md | 1 + bin/nysymfony | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index efc60c2..ad9d461 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ The next steps to take would be: 1. Verify the ```.env``` and ```docker-compose.md``` file 1. start docker ```sudo docker-compose up -d``` 1. [Create your controllers](https://git.gopo.li/nick/symfony/src/branch/main/docs/Controller.md) +1. Run sass ```sass sass/project.sass public/css/main.css``` 1. [Create your security](https://git.gopo.li/nick/symfony/src/branch/main/docs/Security.md) # Currently supported and tested on diff --git a/bin/nysymfony b/bin/nysymfony index c5e4ea2..8cbcdf3 100755 --- a/bin/nysymfony +++ b/bin/nysymfony @@ -65,7 +65,11 @@ echo "Your twig.yaml config file has been replaced, remove the bak if you are ha echo "Creating SASS directory for css" composer require nickyeoman/nytwig +composer require nickyeoman/sassLibrary touch sass/$1.sass +mkdir -p public/css +touch public/css/main.css +echo '.sass-cache' >> .gitignore echo '@import ../vendor/nickyeoman/sasslibrary/master.sass' > sass/$1.sass echo "SASS installed you still need to run sass sass/$1.sass public/css/main.css" @@ -73,6 +77,7 @@ echo "SASS installed you still need to run sass sass/$1.sass public/css/main.css # Symfony bundles ################################################################################ +composer req nickyeoman/symfonycms composer req symfony/process composer req asset composer req sensio/framework-extra-bundle