Files
identity-service/README.md

814 B

identity-service

Authentication & Authorization service

Prepare local dev environment

  1. Add following entry to the /etc/hosts file 127.0.0.1 egommerce.local
  2. Copy or link .env.local to the .env file
  3. Link the cert and key files from stack (./deploy/certs/identity-svc/) to the local ./deploy/certs dir: ln -s PATH_TO_THE_STACK_DIR/deploy/certs/identity-svc/identity-svc.crt deploy/certs/identity-svc.crt ln -s PATH_TO_THE_STACK_DIR/deploy/certs/identity-svc/identity-svc.key deploy/certs/identity-svc.key
  4. Build server app binary: make build-local
  5. Run server app: make run-local

Build prod image: $ make build-image-prod

Push prod image: $ make push-image-prod

Build dev image: $ make build-image-dev

Push dev image: $ make push-image-dev