Added Symfony Casts
This commit is contained in:
parent
9f0d8e5f82
commit
a388d401f7
82
README.md
82
README.md
@ -1,39 +1,43 @@
|
|||||||
# symfony
|
# symfony
|
||||||
|
|
||||||
## Requirements
|
## 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)
|
* [Install Composer](https://www.nickyeoman.com/page/install-composer-on-ubuntu)
|
||||||
* [Symfony cli](https://symfony.com/download)
|
* [Symfony cli](https://symfony.com/download)
|
||||||
|
|
||||||
|
|
||||||
## Create your Project
|
## Create your Project
|
||||||
|
|
||||||
I needed a faster install (don't do anything twice).
|
I needed a faster install (don't do anything twice).
|
||||||
Just change "YOUR_PROJECT_NAME" to whatever you want.
|
Just change "YOUR_PROJECT_NAME" to whatever you want.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget fbot.co/nysymfony
|
wget fbot.co/nysymfony
|
||||||
bash nysymfony YOUR_PROJECT_NAME
|
bash nysymfony YOUR_PROJECT_NAME
|
||||||
rm nysymfony
|
rm nysymfony
|
||||||
cd YOUR_PROJECT_NAME
|
cd YOUR_PROJECT_NAME
|
||||||
```
|
```
|
||||||
|
|
||||||
The next steps to take would be:
|
The next steps to take would be:
|
||||||
|
|
||||||
1. Verify the ```.env``` and ```docker-compose.yml``` file
|
1. Verify the ```.env``` and ```docker-compose.yml``` file
|
||||||
1. Set mailhog: MAILER_DSN=smtp://symfony-mailhog:1025
|
1. Set mailhog: MAILER_DSN=smtp://symfony-mailhog:1025
|
||||||
1. start docker ```sudo docker-compose up -d```
|
1. start docker ```sudo docker-compose up -d```
|
||||||
1. test at http://localhost:8000
|
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.nickyeoman.com/nick/symfony/src/branch/main/docs/Controller.md)
|
||||||
1. Run sass ```sass sass/project.sass public/css/main.css```
|
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.nickyeoman.com/nick/symfony/src/branch/main/docs/Security.md)
|
||||||
|
|
||||||
# Currently supported and tested on
|
# Currently supported and tested on
|
||||||
|
|
||||||
I am only one man, I can only support the following, issues for other versions will be closed.
|
I am only one man, I can only support the following, issues for other versions will be closed.
|
||||||
|
|
||||||
* PHP: 8.1
|
* PHP: 8.1
|
||||||
* Symfony: 6.1.7
|
* Symfony: 6.1.7
|
||||||
* Docker: 20.10
|
* Docker: 20.10
|
||||||
* Mariadb: 10.7
|
* Mariadb: 10.7
|
||||||
|
|
||||||
|
# References
|
||||||
|
|
||||||
|
* https://symfonycasts.com/screencast/symfony/setup
|
Reference in New Issue
Block a user