This is a monorepo contianing demo issuer POC. This monorepo is build into a docker compose stack with a nginx front end. Please refer to docker-compose.yml
for details
Directories
├── nginx <--- Proxy for docker compose start point
├── terraform <--- Terraform scripts
├── fronend <--- React app issuer
└── api <--- Api to create VC
Make sure aws cli and profile is setup. https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html.
All command are in makefile
Create ECR repos
make ecr
Run localhost
Run following command and navigate to http://localhost
make local
Following command will create infrasturcture and deploy to aws.
Update Terraform Variables. git_token
and target_group_arn
should be updated if you are using a new loadbalancer.
Create a Key/Pair called ec2_key
in aws console.
Update following env variables if your aws environment is different
export REGION
export ECR_REPO_URL
make ecr build deploy
Redeploy command if you want to redeploy services without infrasturcture
make remotedeploy