updated install script

This commit is contained in:
Nick Yeoman 2022-12-17 21:11:55 -08:00
parent d62515b52f
commit 8c045c2fad
2 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,7 @@ The next steps to take would be:
1. Verify the ```.env``` and ```docker-compose.md``` file 1. Verify the ```.env``` and ```docker-compose.md``` file
1. start docker ```sudo docker-compose up -d``` 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. [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) 1. [Create your security](https://git.gopo.li/nick/symfony/src/branch/main/docs/Security.md)
# Currently supported and tested on # Currently supported and tested on

View File

@ -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" echo "Creating SASS directory for css"
composer require nickyeoman/nytwig composer require nickyeoman/nytwig
composer require nickyeoman/sassLibrary
touch sass/$1.sass 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 '@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" 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 # Symfony bundles
################################################################################ ################################################################################
composer req nickyeoman/symfonycms
composer req symfony/process composer req symfony/process
composer req asset composer req asset
composer req sensio/framework-extra-bundle composer req sensio/framework-extra-bundle