From eff8ef52747f9ce19f39057501f32b41ff6cf00d Mon Sep 17 00:00:00 2001 From: vol4onok Date: Mon, 22 Jan 2024 13:12:35 +0200 Subject: [PATCH] SDK-5418: Cleanuped documentation. The part was moved to code --- .../acp/user/develop-an-app/develop-an-app.md | 53 ------------------- 1 file changed, 53 deletions(-) diff --git a/docs/acp/user/develop-an-app/develop-an-app.md b/docs/acp/user/develop-an-app/develop-an-app.md index 26d93059e68..ea4ee951996 100644 --- a/docs/acp/user/develop-an-app/develop-an-app.md +++ b/docs/acp/user/develop-an-app/develop-an-app.md @@ -123,61 +123,8 @@ Every app requires default endpoints for the App Registry Service. This service - Configure - Disconnect -To be able to use your Mini Framework as an app, add a new Spryker module: - -```bash -docker/sdk cli composer require spryker/app-kernel spryker/message-broker-aws spryker/propel-encryption-behavior -``` - The `spryker/app-kernel` module transforms the Mini-Framework into an app. It provides SyncAPI schema and code for configuration and disconnection, as well as an AsyncAPI schema and code for the AppConfigure and AppDisconnect messages. The `spryker/message-broker-aws` module installs the necessary plugins for sending and receiving messages. -After installing the modules, you need to configure them. See the [configuration example](https://github.com/spryker-projects/mini-framework/blob/examples/acp/hello-world/my-app-final/config/Shared/config_default.php#L28). - -## Set up the message broker - -Install and configure the message broker as described in [Set up the message broker](/docs/acp/user/develop-an-app/set-up-the-message-broker.html). - -## Config - -To be identifiable in the App Eco System, every app needs an app identifier. To provide the identifier, add the following configuration to `config/Shared/config_default.php`: - -```php -use Spryker\Shared\AppKernel\AppKernelConstants; - -$config[AppKernelConstants::APP_IDENTIFIER] = getenv('APP_IDENTIFIER') ?: 'hello-world'; -``` - -## Plugins - -Add some plugins to your app to enable certain functionality. - -### AppRouteProviderPlugin - -Add `\Spryker\Glue\App\Plugin\RouteProvider\AppRouteProviderPlugin` to the `\Pyz\Glue\GlueBackendApiApplication\GlueBackendApiApplicationDependencyProvider::getRouteProviderPlugins()` method. In case the method doesn’t exist, add the complete method. - -```php - - */ - protected function getRouteProviderPlugins(): array - { - return [ - new AppRouteProviderPlugin(), - ]; - } -} -``` - -This enables the two required endpoints for the App Catalog Communication. ## Build the transfer objects