Skip to content

EPAM-JS-Competency-center/pim-service-commercetools

Repository files navigation

pim-service-commercetools (MACH example)

Open-source hands-on guide to build real production ready pim-service using commercetools platform

Flow

  1. Create Id and Key on AWS console in "Access keys (access key ID and secret access key)" tab.
  2. See ./sls/profiles in repository to set or get available profiles names.
  3. Create or update ~/.aws/config and ~/.aws/credentials on your machine to setup profiles in both files which you got on 2nd step.
[localawsenv]
aws_access_key_id=YOUR_ID
aws_secret_access_key=YOUR_KEY
  1. Use alias for your profile dev01, dev02 etc. for ENV variable.
  2. After deploy you can check your api services and test endpoints.

Build

ENV=dev0x yarn build

Deploy

If build is packaged: ENV=dev0x yarn deploy-package

Deploy entirely: ENV=dev0x yarn deploy

To specify custom profile: ENV=dev0x PROFILE=local yarn deploy

To specify another region ENV=dev0x PROFILE=local REGION=us-west-2 yarn deploy

About

pim-service-commercetools (MACH example)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published