Collection of pipeline components for Origo Dataplattform.
- Install Serverless Framework
- python3.11 -m venv .venv
- Install Serverless plugins:
make init
- Install Python toolchain:
python3 -m pip install (--user) tox black pip-tools
- If running with
--user
flag, add$HOME/.local/bin
to$PATH
- If running with
Code is formatted using black: make format
.
Tests are run using tox: make test
.
For tests and linting we use pytest, flake8, and black.
Deploy to both dev and prod is automatic via GitHub Actions on push to main
.
You can also deploy from a local machine to dev with:
make deploy
Or to prod with:
make deploy-prod