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