pip install -r requirements.txt -r requirements_local.txt
python -m uvicorn api.main:app --reload
==THIS CURRENTLY DOES NOT WORK==
Install newman
(via brew or npm), then (with the API running locally) do:
newman run postman_tests/lambda_ci_demo.postman_collection.json
docker-compose run api
Install newman
(via brew or npm), then (with the API running locally) do:
docker-compose run api_test
Make sure you have pre-commit installed:
pip install pre-commit
Run the same image as BB locally:
docker run -v `pwd`:/api -it python:3.9.6-slim-buster /bin/sh
then just run the bitbucket-piplines.yml
instructions in order