/label-hub

COMS 6998 Cloud Computing and Big Data Final Project - Label Hub

Primary LanguageTypeScript

Label Hub

Contributors

Architecture

Deployment

Installing Dependencies

pnpm install

Note that PNPM is a next-generation package manager for Node. Please see pnpm.io for setup instructions

Deploy Development Stack to AWS

cdk deploy "Development/*" --parameters \
  CognitoDomain=<unique url> \
  -O cdk.out/outputs.json
  • -O cdk.out/outputs.json: save outputs to a file for quick reference

Deploy Frontend

As frontend depends on outputs from Cloud Formation, it has to be deployed separately.

aws s3 sync web/public s3://<bucket>

Deploy Production Stack with Pipeline

cdk deploy LabelHubPipeline --parameters \
  CodeStarConnection=<arn> \
  CognitoDomain=<unique url> \
  -O cdk.out/outputs.json
  • CODE_STAR_CONNECTION can't be passed as parameter for some reasons
  • Frontend still has to be deployed separately

Testing

python -m unittest discover tests