Skip to content

Commit

Permalink
setup symfony4.2, moved controllers, entity, services
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgoncharcherkassy committed Feb 4, 2019
1 parent 7f63bcf commit 68831b9
Show file tree
Hide file tree
Showing 103 changed files with 5,086 additions and 4,251 deletions.
43 changes: 43 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# In all environments, the following files are loaded if they exist,
# the later 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.
#
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration

###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=e3226663b0fbb107e32af878ed116500
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
#TRUSTED_HOSTS='^localhost|example\.com$'
###< symfony/framework-bundle ###

###> doctrine/doctrine-bundle ###
# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
# Configure your db driver and server_version in config/packages/doctrine.yaml
DATABASE_URL=mysql://db_user:[email protected]:3306/db_name
###< doctrine/doctrine-bundle ###

###> symfony/swiftmailer-bundle ###
# For Gmail as a transport, use: "gmail://username:password@localhost"
# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
# Delivery is disabled by default via "null://localhost"
MAILER_URL=null://localhost
###< symfony/swiftmailer-bundle ###

REDMINE=

AMAZON_S3_BUCKET_NAME=
AMAZON_AWS_KEY=
AMAZON_S3_BASE_URL=
AMAZON_AWS_REGION=
AMAZON_AWS_SECRET_KEY=
25 changes: 8 additions & 17 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
/app/bootstrap.php.cache
/app/cache/*
/app/config/parameters.yml
/app/logs/*
!app/cache/.gitkeep
!app/logs/.gitkeep
/app/phpunit.xml
/build/

###> symfony/framework-bundle ###
/.env.local
/.env.local.php
/.env.*.local
/public/bundles/
/var/
/vendor/
/bin/
/composer.phar
/web/bundles/
/web/css/
/web/js/
/web/fonts/
/web/images/
/node_modules/
/.php_cs.cache
###< symfony/framework-bundle ###
9 changes: 0 additions & 9 deletions app/AppCache.php

This file was deleted.

40 changes: 0 additions & 40 deletions app/AppKernel.php

This file was deleted.

5 changes: 0 additions & 5 deletions app/Resources/views/default/index.html.twig

This file was deleted.

Loading

0 comments on commit 68831b9

Please sign in to comment.