diff --git a/survos/command-bundle/1.5/config/packages/survos_command.yaml b/survos/command-bundle/1.5/config/packages/survos_command.yaml new file mode 100644 index 000000000..f17a01e95 --- /dev/null +++ b/survos/command-bundle/1.5/config/packages/survos_command.yaml @@ -0,0 +1,4 @@ +survos_command: + # expose app:my-command, etc. + namespaces: [app] + diff --git a/survos/command-bundle/1.5/config/routes/survos_command.php b/survos/command-bundle/1.5/config/routes/survos_command.php new file mode 100644 index 000000000..369434978 --- /dev/null +++ b/survos/command-bundle/1.5/config/routes/survos_command.php @@ -0,0 +1,9 @@ +import('@SurvosCommandBundle/config/routes.php') + ->prefix('/admin') // consider adding this path to the access_control key in security + ; +}; + diff --git a/survos/command-bundle/1.5/manifest.json b/survos/command-bundle/1.5/manifest.json new file mode 100644 index 000000000..9d0d81c6a --- /dev/null +++ b/survos/command-bundle/1.5/manifest.json @@ -0,0 +1,9 @@ +{ + "bundles": { + "Survos\\CommandBundle\\SurvosCommandBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} + diff --git a/survos/command-bundle/1.5/post-install.txt b/survos/command-bundle/1.5/post-install.txt new file mode 100644 index 000000000..22519cef2 --- /dev/null +++ b/survos/command-bundle/1.5/post-install.txt @@ -0,0 +1,8 @@ + + success + + + * Next steps: + 1. Configure /config/packages/survos_command.php to expose the namespaces (command prefixes) + 2. secure the /admin route, configure the route in config/routes/survos_command.php; + 3. Visit /admin/commmands.