From 73ef4a756260ffb0b61f770764330ae737c8b7fe Mon Sep 17 00:00:00 2001 From: Nick Yeoman Date: Thu, 15 Feb 2024 21:04:53 -0800 Subject: [PATCH] changed urls --- README.md | 9 ++++----- bin/nysymfony | 8 +++----- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 5c168b5..ba711ff 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,11 @@ -# symfony +# Symfony PHP Framework ## Requirements -* ubuntu (sudo nala install curl unzip php-curl php-xml php-cli php-mysql) +* ubuntu ```sudo nala install curl unzip php-curl php-xml php-cli php-mysql``` * [Install Composer](https://www.nickyeoman.com/page/install-composer-on-ubuntu) * [Symfony cli](https://symfony.com/download) - ## Create your Project I needed a faster install (don't do anything twice). @@ -25,9 +24,9 @@ The next steps to take would be: 1. Set mailhog: MAILER_DSN=smtp://symfony-mailhog:1025 1. start docker ```sudo docker-compose up -d``` 1. test at http://localhost:8000 -1. [Create your controllers](https://git.nickyeoman.com/nick/symfony/src/branch/main/docs/Controller.md) +1. [Create your controllers](https://git.4lt.ca/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.nickyeoman.com/nick/symfony/src/branch/main/docs/Security.md) +1. [Create your security](https://git.4lt.ca/nick/symfony/src/branch/main/docs/Security.md) # Currently supported and tested on diff --git a/bin/nysymfony b/bin/nysymfony index ae58a28..0139e6c 100755 --- a/bin/nysymfony +++ b/bin/nysymfony @@ -1,7 +1,6 @@ #!/bin/bash ################################################################################ -# Nix install symfony bash script -# v2 +# 4lt's install symfony bash script ################################################################################ ################################################################################ @@ -61,7 +60,7 @@ echo "Creating scaffolding Twig templates in views directory" composer require twig composer require nickyeoman/nytwig mv config/packages/twig.yaml config/packages/twig.yaml.bak -wget https://git.nickyeoman.com/nick/symfony/raw/branch/main/twig/twig.yaml +wget https://git.4lt.ca/nick/symfony/raw/branch/master/twig/twig.yaml mv twig.yaml config/packages/twig.yaml echo "Your twig.yaml config file has been replaced, remove the bak if you are happy." @@ -83,9 +82,8 @@ echo "SASS installed you still need to run sass sass/$1.sass public/css/main.css ################################################################################ composer req nickyeoman/symfonycms -composer req symfony/process +composer req symfony/process composer req asset -composer req sensio/framework-extra-bundle composer req symfony/mailer # gives prompt ################################################################################