changed urls

This commit is contained in:
Nick Yeoman 2024-02-15 21:04:53 -08:00
parent a388d401f7
commit 73ef4a7562
2 changed files with 7 additions and 10 deletions

View File

@ -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

View File

@ -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."
@ -85,7 +84,6 @@ 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 asset
composer req sensio/framework-extra-bundle
composer req symfony/mailer # gives prompt
################################################################################