|
@@ -180,8 +180,7 @@
|
|
"chown -Rf www-data:www-data app/Resources/workflows",
|
|
"chown -Rf www-data:www-data app/Resources/workflows",
|
|
"cp -n app/Resources/workflows/workflow_list.yml.dist app/Resources/workflows/workflow_list.yml",
|
|
"cp -n app/Resources/workflows/workflow_list.yml.dist app/Resources/workflows/workflow_list.yml",
|
|
"chown -Rf www-data:www-data app/Resources/workflows/workflow_list.yml",
|
|
"chown -Rf www-data:www-data app/Resources/workflows/workflow_list.yml",
|
|
- "chown -Rf www-data:www-data web/workflows_png",
|
|
|
|
- "php bin/console workflow:default --class=HostBundle\\\\Entity\\\\Host --all"
|
|
|
|
|
|
+ "chown -Rf www-data:www-data web/workflows_png"
|
|
],
|
|
],
|
|
"mkdir-dir-cache-sessions-logs": "mkdir -p var/cache var/logs var/sessions",
|
|
"mkdir-dir-cache-sessions-logs": "mkdir -p var/cache var/logs var/sessions",
|
|
"chmod-dir-cache-sessions-logs": "chmod 777 -R var/cache var/logs var/sessions",
|
|
"chmod-dir-cache-sessions-logs": "chmod 777 -R var/cache var/logs var/sessions",
|
|
@@ -189,6 +188,7 @@
|
|
"doctrine-migrations-down": "php bin/console doctrine:migrations:migrate --no-interaction first -vvv",
|
|
"doctrine-migrations-down": "php bin/console doctrine:migrations:migrate --no-interaction first -vvv",
|
|
"doctrine-migrations": "php bin/console doctrine:migrations:migrate --no-interaction -vvv",
|
|
"doctrine-migrations": "php bin/console doctrine:migrations:migrate --no-interaction -vvv",
|
|
"auto-increment": "php bin/console baseadmin:autoincrement",
|
|
"auto-increment": "php bin/console baseadmin:autoincrement",
|
|
|
|
+ "workflow-default": "php bin/console workflow:default --class=HostBundle\\\\Entity\\\\Host --all",
|
|
"symfony-scripts": [
|
|
"symfony-scripts": [
|
|
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
|
|
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
|
|
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
|
|
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
|
|
@@ -198,21 +198,23 @@
|
|
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
|
|
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
|
|
],
|
|
],
|
|
"post-install-cmd": [
|
|
"post-install-cmd": [
|
|
- "@symfony-scripts",
|
|
|
|
"@workflows-commands",
|
|
"@workflows-commands",
|
|
|
|
+ "@symfony-scripts",
|
|
"@mkdir-dir-cache-sessions-logs",
|
|
"@mkdir-dir-cache-sessions-logs",
|
|
"@chmod-dir-cache-sessions-logs",
|
|
"@chmod-dir-cache-sessions-logs",
|
|
"@doctrine-update",
|
|
"@doctrine-update",
|
|
"@auto-increment",
|
|
"@auto-increment",
|
|
"@doctrine-migrations-down",
|
|
"@doctrine-migrations-down",
|
|
- "@doctrine-migrations"
|
|
|
|
|
|
+ "@doctrine-migrations",
|
|
|
|
+ "@workflow-default"
|
|
],
|
|
],
|
|
"post-update-cmd": [
|
|
"post-update-cmd": [
|
|
- "@symfony-scripts",
|
|
|
|
"@workflows-commands",
|
|
"@workflows-commands",
|
|
|
|
+ "@symfony-scripts",
|
|
"@mkdir-dir-cache-sessions-logs",
|
|
"@mkdir-dir-cache-sessions-logs",
|
|
"@chmod-dir-cache-sessions-logs",
|
|
"@chmod-dir-cache-sessions-logs",
|
|
- "@auto-increment"
|
|
|
|
|
|
+ "@auto-increment",
|
|
|
|
+ "@workflow-default"
|
|
]
|
|
]
|
|
},
|
|
},
|
|
"extra": {
|
|
"extra": {
|