TODO
TODO
- Download python 3.8 on your mac using brew:
brew install python@3.8
, you can verify you are now using python 3.9 withpython3.8 -V
. - Set up a python virtual environment named "venv" with python 3.8:
python3.8 -m venv "venv"
. - Activate the environment:
source venv/bin/activate
- Install dependencies:
pip3 install -r requirements.txt
- (Optional) Install the AWS SAM CLI (ref: AWS documenation):
brew install aws-sam-cli
- Activate the environment:
source venv/bin/activate
- Run unit tests using pytest:
python3 -m pytest tests/unit/*
- Migrate app to SAM (Serverless Application Model). Refs:
- Migrate pipeline to SAM. Refs:
- Add pipeline to CloudFormation template (propably can be done as part of SAM migration).
- Add integration test ran in pipeline.