.
This commit is contained in:
parent
2d3ee0aed9
commit
b6dd3abb3b
6
.env
6
.env
@ -15,7 +15,7 @@
|
|||||||
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
|
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
|
||||||
|
|
||||||
###> symfony/framework-bundle ###
|
###> symfony/framework-bundle ###
|
||||||
APP_ENV=dev
|
APP_ENV=prod
|
||||||
APP_SECRET=ab892a986d68cc476c3bcca606175c22
|
APP_SECRET=ab892a986d68cc476c3bcca606175c22
|
||||||
###< symfony/framework-bundle ###
|
###< symfony/framework-bundle ###
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ APP_SECRET=ab892a986d68cc476c3bcca606175c22
|
|||||||
#
|
#
|
||||||
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
|
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
|
||||||
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4"
|
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4"
|
||||||
DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
|
DATABASE_URL="mysql://4bis_nl2_dbu:ZkpRg9R81oNwK2NLW@dblb.300.4bisnl.net:6033/4bis_nl2_db?serverVersion=mariadb-10.4.11"
|
||||||
###< doctrine/doctrine-bundle ###
|
###< doctrine/doctrine-bundle ###
|
||||||
|
|
||||||
###> symfony/messenger ###
|
###> symfony/messenger ###
|
||||||
@ -33,8 +33,8 @@ DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&ch
|
|||||||
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
|
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
|
||||||
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
|
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
|
||||||
MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
|
MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
|
||||||
###< symfony/messenger ###
|
|
||||||
|
|
||||||
|
MAILER_DSN=smtp://noreply@cms.4bis.tech:ycboQkPNF!5@mail.4bis.nl:587
|
||||||
###> symfony/mailer ###
|
###> symfony/mailer ###
|
||||||
# MAILER_DSN=null://null
|
# MAILER_DSN=null://null
|
||||||
###< symfony/mailer ###
|
###< symfony/mailer ###
|
||||||
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "CmsBundle"]
|
||||||
|
path = CmsBundle
|
||||||
|
url = ssh://git@tunnel.git.4bis.tech:2213/4BIS_Innovations/CmsBundle.git
|
1
CmsBundle
Submodule
1
CmsBundle
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit baf99cf3aa6a9b72a543a21c1abde3785a6d2885
|
@ -4,35 +4,39 @@
|
|||||||
"minimum-stability": "stable",
|
"minimum-stability": "stable",
|
||||||
"prefer-stable": true,
|
"prefer-stable": true,
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=8.0.2",
|
"php": ">=8.1",
|
||||||
"ext-ctype": "*",
|
"ext-ctype": "*",
|
||||||
"ext-iconv": "*",
|
"ext-iconv": "*",
|
||||||
|
"deployer/deployer": "7.0.0-rc.8",
|
||||||
"doctrine/dbal": "^3",
|
"doctrine/dbal": "^3",
|
||||||
"doctrine/doctrine-bundle": "^2.12",
|
"doctrine/doctrine-bundle": "^2.12",
|
||||||
"doctrine/doctrine-migrations-bundle": "^3.3",
|
"doctrine/doctrine-migrations-bundle": "^3.3",
|
||||||
"doctrine/orm": "^3.1",
|
"doctrine/orm": "2.*",
|
||||||
|
"fourbis/cms-bundle": "2.*",
|
||||||
|
"league/flysystem-webdav": "^3.24",
|
||||||
"phpdocumentor/reflection-docblock": "^5.4",
|
"phpdocumentor/reflection-docblock": "^5.4",
|
||||||
"phpstan/phpdoc-parser": "^1.28",
|
"phpstan/phpdoc-parser": "^1.28",
|
||||||
|
"presta/sitemap-bundle": "^3.3",
|
||||||
"symfony/asset": "6.0.*",
|
"symfony/asset": "6.0.*",
|
||||||
"symfony/console": "6.0.*",
|
"symfony/console": "6.1.*",
|
||||||
"symfony/doctrine-messenger": "6.0.*",
|
"symfony/doctrine-messenger": "6.0.*",
|
||||||
"symfony/dotenv": "6.0.*",
|
"symfony/dotenv": "6.1.*",
|
||||||
"symfony/expression-language": "6.0.*",
|
"symfony/expression-language": "6.0.*",
|
||||||
"symfony/flex": "^2",
|
"symfony/flex": "^2",
|
||||||
"symfony/form": "6.0.*",
|
"symfony/form": "6.1.*",
|
||||||
"symfony/framework-bundle": "6.0.*",
|
"symfony/framework-bundle": "6.1.*",
|
||||||
"symfony/http-client": "6.0.*",
|
"symfony/http-client": "6.0.*",
|
||||||
"symfony/intl": "6.0.*",
|
"symfony/intl": "6.0.*",
|
||||||
"symfony/mailer": "6.0.*",
|
"symfony/mailer": "6.0.*",
|
||||||
"symfony/mime": "6.0.*",
|
"symfony/mime": "6.0.*",
|
||||||
"symfony/monolog-bundle": "^3.0",
|
"symfony/monolog-bundle": "^3.8",
|
||||||
"symfony/notifier": "6.0.*",
|
"symfony/notifier": "6.0.*",
|
||||||
"symfony/process": "6.0.*",
|
"symfony/process": "6.0.*",
|
||||||
"symfony/property-access": "6.0.*",
|
"symfony/property-access": "6.0.*",
|
||||||
"symfony/property-info": "6.0.*",
|
"symfony/property-info": "6.0.*",
|
||||||
"symfony/runtime": "6.0.*",
|
"symfony/runtime": "6.1.*",
|
||||||
"symfony/security-bundle": "6.0.*",
|
"symfony/security-bundle": "6.0.*",
|
||||||
"symfony/serializer": "6.0.*",
|
"symfony/serializer": "6.1.*",
|
||||||
"symfony/stimulus-bundle": "^2.16",
|
"symfony/stimulus-bundle": "^2.16",
|
||||||
"symfony/string": "6.0.*",
|
"symfony/string": "6.0.*",
|
||||||
"symfony/translation": "6.0.*",
|
"symfony/translation": "6.0.*",
|
||||||
@ -42,9 +46,9 @@
|
|||||||
"symfony/validator": "6.0.*",
|
"symfony/validator": "6.0.*",
|
||||||
"symfony/web-link": "6.0.*",
|
"symfony/web-link": "6.0.*",
|
||||||
"symfony/webpack-encore-bundle": "^1.17",
|
"symfony/webpack-encore-bundle": "^1.17",
|
||||||
"symfony/yaml": "6.0.*",
|
"symfony/yaml": "6.1.*",
|
||||||
"twig/extra-bundle": "^2.12|^3.0",
|
"twig/extra-bundle": "^3.8",
|
||||||
"twig/twig": "^2.12|^3.0"
|
"twig/string-extra": "^3.8"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"allow-plugins": {
|
"allow-plugins": {
|
||||||
@ -68,13 +72,20 @@
|
|||||||
"App\\Tests\\": "tests/"
|
"App\\Tests\\": "tests/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"repositories": [
|
||||||
|
{
|
||||||
|
"type": "path",
|
||||||
|
"url": "CmsBundle"
|
||||||
|
}
|
||||||
|
],
|
||||||
"replace": {
|
"replace": {
|
||||||
"symfony/polyfill-ctype": "*",
|
"symfony/polyfill-ctype": "*",
|
||||||
"symfony/polyfill-iconv": "*",
|
"symfony/polyfill-iconv": "*",
|
||||||
"symfony/polyfill-php72": "*",
|
"symfony/polyfill-php72": "*",
|
||||||
"symfony/polyfill-php73": "*",
|
"symfony/polyfill-php73": "*",
|
||||||
"symfony/polyfill-php74": "*",
|
"symfony/polyfill-php74": "*",
|
||||||
"symfony/polyfill-php80": "*"
|
"symfony/polyfill-php80": "*",
|
||||||
|
"symfony/polyfill-php81": "*"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"auto-scripts": {
|
"auto-scripts": {
|
||||||
@ -94,14 +105,15 @@
|
|||||||
"extra": {
|
"extra": {
|
||||||
"symfony": {
|
"symfony": {
|
||||||
"allow-contrib": false,
|
"allow-contrib": false,
|
||||||
"require": "6.0.*"
|
"require": "6.1.*",
|
||||||
|
"docker": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^9.5",
|
"phpunit/phpunit": "^9.5",
|
||||||
"symfony/browser-kit": "6.0.*",
|
"symfony/browser-kit": "6.0.*",
|
||||||
"symfony/css-selector": "6.0.*",
|
"symfony/css-selector": "6.0.*",
|
||||||
"symfony/debug-bundle": "6.0.*",
|
"symfony/debug-bundle": "6.1.*",
|
||||||
"symfony/maker-bundle": "^1.0",
|
"symfony/maker-bundle": "^1.0",
|
||||||
"symfony/phpunit-bridge": "^7.0",
|
"symfony/phpunit-bridge": "^7.0",
|
||||||
"symfony/stopwatch": "6.0.*",
|
"symfony/stopwatch": "6.0.*",
|
||||||
|
1767
composer.lock
generated
1767
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@ -15,4 +15,6 @@ return [
|
|||||||
Symfony\UX\StimulusBundle\StimulusBundle::class => ['all' => true],
|
Symfony\UX\StimulusBundle\StimulusBundle::class => ['all' => true],
|
||||||
Symfony\UX\Chartjs\ChartjsBundle::class => ['all' => true],
|
Symfony\UX\Chartjs\ChartjsBundle::class => ['all' => true],
|
||||||
Symfony\UX\React\ReactBundle::class => ['all' => true],
|
Symfony\UX\React\ReactBundle::class => ['all' => true],
|
||||||
|
Presta\SitemapBundle\PrestaSitemapBundle::class => ['all' => true],
|
||||||
|
Fourbis\CmsBundle\FourbisCmsBundle::class => ['all' => true],
|
||||||
];
|
];
|
||||||
|
@ -5,3 +5,6 @@ controllers:
|
|||||||
kernel:
|
kernel:
|
||||||
resource: ../src/Kernel.php
|
resource: ../src/Kernel.php
|
||||||
type: annotation
|
type: annotation
|
||||||
|
fourbis_cms:
|
||||||
|
resource: "@FourbisCmsBundle/src/Controller/"
|
||||||
|
type: annotation
|
@ -25,6 +25,8 @@ class HomeController extends BaseController
|
|||||||
#[Route("/", name: "home_index", options: ['expose' => true])]
|
#[Route("/", name: "home_index", options: ['expose' => true])]
|
||||||
public function index(RequestStack $requestStack): Response
|
public function index(RequestStack $requestStack): Response
|
||||||
{
|
{
|
||||||
|
|
||||||
|
$posts = $this->entityManager->getRepository(Post::class)->findAll();
|
||||||
return $this->render('home/index.html.twig', [
|
return $this->render('home/index.html.twig', [
|
||||||
|
|
||||||
]);
|
]);
|
||||||
|
@ -26,6 +26,9 @@
|
|||||||
"migrations/.gitignore"
|
"migrations/.gitignore"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"fourbis/cms-bundle": {
|
||||||
|
"version": "2.4.25"
|
||||||
|
},
|
||||||
"phpunit/phpunit": {
|
"phpunit/phpunit": {
|
||||||
"version": "9.6",
|
"version": "9.6",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
@ -40,6 +43,9 @@
|
|||||||
"tests/bootstrap.php"
|
"tests/bootstrap.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"presta/sitemap-bundle": {
|
||||||
|
"version": "v3.3.1"
|
||||||
|
},
|
||||||
"symfony/console": {
|
"symfony/console": {
|
||||||
"version": "6.0",
|
"version": "6.0",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user