SummarizeMyDocument.mp4
Fork this repo to your own GitHub account.
Edit the file cdk_stacks.py. Search for parent_domain and fill in your own DNS domain, such as my-domain.com.
The demo application will be hosted at https://summarize-my-document-demo.my-domain.com.
Also edit the file frontend/docker-compose.yml and fill in your own DNS domain for the BACKEND_URL value.
Push these changes to your fork repository.
Install both nodejs and python on your computer.
Install CDK:
npm install -g aws-cdkSet up a virtual env:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtAfter this initial setup, you only need to run source .venv/bin/activate to use the virtual env for further development.
Synthesize the demo stacks:
cdk synth --app 'python3 cdk_stacks.py'Deploy all the demo stacks:
cdk deploy --app 'python3 cdk_stacks.py' --allThe demo application will now be hosted at https://summarize-my-document-demo.my-domain.com,
behind Cognito-based user authentication.
To add users that can log into the demo application, select the summarize-my-document-demo user pool on the
Cognito console
and click "Create user".