Skip to content

Commit

Permalink
Update application structure to Symfony 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
vtsykun committed Dec 25, 2022
1 parent 1f38dea commit b762074
Show file tree
Hide file tree
Showing 1,586 changed files with 6,968 additions and 6,388 deletions.
48 changes: 48 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# In all environments, the following files are loaded if they exist,
# the latter taking precedence over the former:
#
# * .env contains default values for the environment variables needed by the app
# * .env.local uncommitted file with local overrides
# * .env.$APP_ENV committed environment-specific defaults
# * .env.$APP_ENV.local uncommitted environment-specific overrides
#
# Real environment variables win over .env files.
#
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
# https://symfony.com/doc/current/configuration/secrets.html
#
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration

###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=09aea01942e85d3bbe0ecf727bfc3bd5
###< symfony/framework-bundle ###

###> doctrine/doctrine-bundle ###
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
#
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
# DATABASE_URL="mysql://app:[email protected]:3306/app?serverVersion=8&charset=utf8mb4"
DATABASE_URL="postgresql://app:[email protected]:5432/app?serverVersion=14&charset=utf8"
###< doctrine/doctrine-bundle ###

###> symfony/lock ###
# Choose one of the stores below
# postgresql+advisory://db_user:db_password@localhost/db_name
LOCK_DSN=flock
###< symfony/lock ###

###> symfony/mailer ###
MAILER_DSN=null://null
###< symfony/mailer ###

###> snc/redis-bundle ###
# passwords that contain special characters (@, %, :, +) must be urlencoded
REDIS_URL=redis://localhost
###< snc/redis-bundle ###

###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
###< nelmio/cors-bundle ###
39 changes: 9 additions & 30 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,31 +1,10 @@
/web/bundles
/web/css
/web/js
/web/composer
/web/images
/web/uploads/users/*
/web/media/cache
/web/build.js
/var/password.dat
/var/password.json
/password.json
behat.yml
/.web-server-pid
/app/config/parameters.yml
/build/
.idea
/phpunit.xml
/var/*
/var/cache/*
!var/cache/.gitkeep
!var/hook/.gitkeep
!var/hook/*
/var/logs/*
!var/logs/.gitkeep
!/var/sessions
/var/sessions/*
!var/sessions/.gitkeep
!var/SymfonyRequirements.php

###> symfony/framework-bundle ###
/.env.local
/.env.local.php
/.env.*.local
/config/secrets/prod/prod.decrypt.private.php
/public/bundles/
/var/
/vendor/
/web/bundles/
/var/bin/
###< symfony/framework-bundle ###
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

19 changes: 0 additions & 19 deletions LICENSE

This file was deleted.

Loading

0 comments on commit b762074

Please sign in to comment.