Add a recipe for contao/core-bundle and contao/installation-bundle

This commit is contained in:
Leo Feyer
2018-08-30 10:15:34 +02:00
parent 6b950533e3
commit 9ce7a55027
4 changed files with 41 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
{
"bundles": {
"Contao\\CoreBundle\\ContaoCoreBundle": ["all"]
},
"composer-scripts": {
"contao:install %PUBLIC_DIR%": "symfony-cmd",
"contao:symlinks %PUBLIC_DIR%": "symfony-cmd"
},
"gitignore": [
"/assets/",
"/files/",
"/system/*",
"!/system/config/",
"/system/config/localconfig.php",
"/system/config/tcpdf.php",
"/system/modules/*/.skip"
]
}
+16
View File
@@ -0,0 +1,16 @@
<bg=blue;fg=white> </>
<bg=blue;fg=white> Next: Contao configuration </>
<bg=blue;fg=white> </>
* Enable ESI in the <fg=green>config/packages/framework.yaml</> file.
* Add the Contao routes to your <fg=green>config/routing.yaml</> file and
make sure that they will be loaded at the very end.
* Edit your <fg=green>config/security.yaml</> file and include all the
necessary providers, firewalls and access control sections.
* Complete the installation by opening the <fg=green>/contao/install</> route
in your browser.
Documentation: https://github.com/contao/core-bundle
@@ -0,0 +1,2 @@
contao_installation:
resource: "@ContaoInstallationBundle/Resources/config/routing.yml"
@@ -0,0 +1,5 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}