Make sure aws cli is well configured by running the following command to check
$ aws configure list
Name Value Type Location
---- ----- ---- --------
profile <not set> None None
access_key ****************XAWA shared-credentials-file
secret_key ****************qEK5 shared-credentials-file
region us-east-2 config-file ~/.aws/config
Run cdk bootstrap aws://<your aws account>/<aws region>
to bootstrap cdk:
cdk bootstrap aws://638198787577/us-east-2
This step only needs to be run once
To setup your local environment you need
$ mkdir -p $HOME/ws/local-tiles-repo
$ docker run -it -d -v $HOME/ws/local-tiles-repo:/workspace/tiles-repo \
-v ~/.aws:/root/.aws \
-e M_MODE=dev \
-p 9090:9090 \
docker.pkg.github.com/awslabs/aws-solutions-assembler/dice:latest
Open http://127.0.0.1:9090/toy to get started
We strongly suggest you to install a cli tool to interact with Dice daemon. Install mctl