label-hub
所属分类:云计算
开发工具:TypeScript
文件大小:234KB
下载次数:0
上传日期:2022-12-20 22:22:06
上 传 者:
sh-1993
说明: COMS 6998云计算和大数据最终项目-标签中心
(COMS 6998 Cloud Computing and Big Data Final Project - Label Hub)
文件列表:
.prettierignore (191, 2022-12-21)
.prettierrc (77, 2022-12-21)
cdk.json (48, 2022-12-21)
lambdas (0, 2022-12-21)
lambdas\label_hub (0, 2022-12-21)
lambdas\label_hub\__init__.py (0, 2022-12-21)
lambdas\label_hub\core (0, 2022-12-21)
lambdas\label_hub\core\__init__.py (0, 2022-12-21)
lambdas\label_hub\infrastructure (0, 2022-12-21)
lambdas\label_hub\infrastructure\__init__.py (0, 2022-12-21)
lambdas\label_hub\lambdas (0, 2022-12-21)
lambdas\label_hub\lambdas\__init__.py (0, 2022-12-21)
lambdas\label_hub\lambdas\buy_get (0, 2022-12-21)
lambdas\label_hub\lambdas\buy_get\__init__.py (0, 2022-12-21)
lambdas\label_hub\lambdas\download_get (0, 2022-12-21)
lambdas\label_hub\lambdas\download_get\__init__.py (55, 2022-12-21)
lambdas\label_hub\lambdas\download_get\lambda_function.py (3459, 2022-12-21)
lambdas\label_hub\lambdas\income_get (0, 2022-12-21)
lambdas\label_hub\lambdas\income_get\__init__.py (55, 2022-12-21)
lambdas\label_hub\lambdas\income_get\lambda_function.py (1842, 2022-12-21)
lambdas\label_hub\lambdas\photos_get (0, 2022-12-21)
lambdas\label_hub\lambdas\photos_get\__init__.py (55, 2022-12-21)
lambdas\label_hub\lambdas\photos_get\lambda_function.py (2358, 2022-12-21)
lambdas\label_hub\lambdas\photos_producer_get (0, 2022-12-21)
lambdas\label_hub\lambdas\photos_producer_get\__init__.py (2512, 2022-12-21)
lambdas\label_hub\lambdas\photos_put (0, 2022-12-21)
lambdas\label_hub\lambdas\photos_put\__init__.py (55, 2022-12-21)
lambdas\label_hub\lambdas\photos_put\lambda_function.py (2929, 2022-12-21)
lambdas\label_hub\lambdas\photos_to_s3 (0, 2022-12-21)
lambdas\label_hub\lambdas\photos_to_s3\__init__.py (1110, 2022-12-21)
lambdas\label_hub\lambdas\projects_get (0, 2022-12-21)
lambdas\label_hub\lambdas\projects_get\__init__.py (55, 2022-12-21)
... ...
# Label Hub
## Contributors
- Tsai-Chen Hsieh (th2990@columbia.edu)
- Zehua Chen (zc2616@columbia.edu)
- Fatima Dantsoho (fd2508@columbia.edu)
- Alix Leon (afl2124@columbia.edu)
## Architecture
- [`lambdas`](https://github.com/Zehua-Chen/label-hub/blob/master/lambdas/README.md): Lambda functions
- [`web`](https://github.com/Zehua-Chen/label-hub/blob/master/web/README.md): Web frontend
- [`stack`](https://github.com/Zehua-Chen/label-hub/blob/master/stack/README.md): CDK
## Deployment
### Installing Dependencies
```
pnpm install
```
Note that PNPM is a next-generation package manager for Node. Please see
[pnpm.io](https://github.com/Zehua-Chen/label-hub/blob/master/https://pnpm.io) for setup instructions
### Deploy Development Stack to AWS
```
cdk deploy "Development/*" --parameters \
CognitoDomain=
\
-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.
- [Web Development](https://github.com/Zehua-Chen/label-hub/blob/master/web/README.md): follow instructions on how to build frontend
first
```
aws s3 sync web/public s3://
```
### Deploy Production Stack with Pipeline
```
cdk deploy LabelHubPipeline --parameters \
CodeStarConnection= \
CognitoDomain= \
-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
```commandline
python -m unittest discover tests
```
近期下载者:
相关文件:
收藏者: