- Circle CI - Cloud-based CI/CD service
- Amazon AWS - Cloud services
- AWS CLI - Command-line tool for AWS
- Kubernetes - Container Orchestration
- EKS - Amazon Elastic Kubernetes Service-
- Install Python3.9, can be downloaded here Note: Do not install via brew
- Install NPM, can be downloaded here
- Verify Python3 added to PATH
- Create virtual environment within your repository directory:
python3 -m venv ./python_env
- Activate your virtual environment:
source ./python_env/bin/activate
- Install pip dependencies
pip install -r requirements.txt
- Make install
make install
- Docker build
docker build . -t YOUR_TAG
- Docker run
docker run -d -p 5000:5000 YOUR_TAG
- We gonna create docker-compose.yml later
source venv/bin/activate
pip install pytest pytest-cov
pip install -r requirements.txt
ENV=test pytest --cov ./src --cov-report html --cov-fail-under 95 tests/ -v
Or
make install
make test