956fd3ee8411458d69bdd1fde0fc2e107cc284ea
identity-service
Authentication & Authorization service
Prepare local dev environment
-
Add following entry to the /etc/hosts file
127.0.0.1 egommerce.local -
Modify and copy (or link)
deploy/.env.localto thedeploy/.envfile -
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.crtln -s PATH_TO_THE_STACK_DIR/deploy/certs/identity-svc/identity-svc.key deploy/certs/identity-svc.key -
Build server app binary:
make build-local -
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
Description