DownloadSymfony Application - symfony_app
-
Composer - version 2.4.4
-
Nginx version: nginx/1.18.0 (Ubuntu)
-
Symfony version: 6.1
-
PHP: 8.1
Docker part (installation and configuration)
Usefull commands for this part (Most of these in Makefile):
- id $USER; sudo chown -R www-data:www-data /var/log/nginx; sudo chmod -R 755 /var/log/nginx;
- docker-compose -f ./docker/docker-compose.yml build
- docker-compose -f ./docker/docker-compose.yml up
- docker-compose -f ./docker/docker-compose.yml --env-file ./docker/.env exec -u www-data php-fpm bash
- composer create-project symfony/skeleton:"6.1.*" my_project_directory
Debugging
Usefull commands:
-
make dc_stop dc_build dc_up
-
make app_bash
-
php -m
-
make check
|