Added Symfony Casts
This commit is contained in:
parent
9f0d8e5f82
commit
a388d401f7
82
README.md
82
README.md
@ -1,39 +1,43 @@
|
||||
# symfony
|
||||
|
||||
## Requirements
|
||||
|
||||
* 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).
|
||||
Just change "YOUR_PROJECT_NAME" to whatever you want.
|
||||
|
||||
```bash
|
||||
wget fbot.co/nysymfony
|
||||
bash nysymfony YOUR_PROJECT_NAME
|
||||
rm nysymfony
|
||||
cd YOUR_PROJECT_NAME
|
||||
```
|
||||
|
||||
The next steps to take would be:
|
||||
|
||||
1. Verify the ```.env``` and ```docker-compose.yml``` file
|
||||
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. 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)
|
||||
|
||||
# Currently supported and tested on
|
||||
|
||||
I am only one man, I can only support the following, issues for other versions will be closed.
|
||||
|
||||
* PHP: 8.1
|
||||
* Symfony: 6.1.7
|
||||
* Docker: 20.10
|
||||
* Mariadb: 10.7
|
||||
# symfony
|
||||
|
||||
## Requirements
|
||||
|
||||
* 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).
|
||||
Just change "YOUR_PROJECT_NAME" to whatever you want.
|
||||
|
||||
```bash
|
||||
wget fbot.co/nysymfony
|
||||
bash nysymfony YOUR_PROJECT_NAME
|
||||
rm nysymfony
|
||||
cd YOUR_PROJECT_NAME
|
||||
```
|
||||
|
||||
The next steps to take would be:
|
||||
|
||||
1. Verify the ```.env``` and ```docker-compose.yml``` file
|
||||
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. 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)
|
||||
|
||||
# Currently supported and tested on
|
||||
|
||||
I am only one man, I can only support the following, issues for other versions will be closed.
|
||||
|
||||
* PHP: 8.1
|
||||
* Symfony: 6.1.7
|
||||
* Docker: 20.10
|
||||
* Mariadb: 10.7
|
||||
|
||||
# References
|
||||
|
||||
* https://symfonycasts.com/screencast/symfony/setup
|
Reference in New Issue
Block a user