Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

Latest commit

 

History

History
22 lines (15 loc) · 592 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 592 Bytes

Setup Instructions

Prerequisites:

  • CD to root of repo
  • Python 3.6

Deployment:

  • Create a virtualenv at the root of the repo with this command: virtualenv -p python3 ./.venv_metrics_dtg_lambda

  • Activate that venv with this command: source ./.venv_metrics_dtg_lambda/bin/activate

  • Install all pip dependencies to the package folder with this command: pip install -r package/requirements.txt -t ./package

  • CD into package folder: cd package

  • Zip package folder using this command: zip -r ../lambdapackage.zip ./*

  • Upload package to lambda using AWS CLI or web console