Author:
Fluent Commerce
Changed on:
31 Jan 2024
Local development uses localstack to emulate AWS services. Simply run the command below to have the image downloaded and the container running. Note that the container is set to always run unless stopped. Be aware that secrets and messages are not persisted between server restarts.
1docker-compose -f docker-compose.yml up -d localstack
Language: json
Name: Localstack
Description:
[Warning: empty required content area]This is only required if one wants to send events to the queues in localstack or manage secrets through the AWS CLI outside the localstack container. Run the AWS configuration and set your profile. The access key values can be anything but the region has to be us-east-1
1aws configure --profile localstack
2export AWS_PROFILE=localstack
Language: json
Name: command line
Description:
[Warning: empty required content area]Create a run configuration setting the spring profiles, environment variables and selecting the correct pre-configured localstack AWS profile. The application runs exactly the same way as it would in production and this is achieved by the properties below.
`connector`
`dev-aws`
For IntelliJ community version, pass the spring profile configuration as JVM parameters:
1--spring.profiles.active=connector,dev-aws
Language: json
Name: Profile
Description:
[Warning: empty required content area]Create a run configuration and set the spring profiles.
Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.