Acquire sources.
git clone https://github.com/pyveci/supertask
cd supertask
It is recommended to use a Python virtualenv for the subsequent operations. If you something gets messed up during development, it is easy to nuke the installation, and start from scratch.
python3 -m venv .venv
source .venv/bin/activate
Install project in sandbox mode.
pip install --editable=.
Start service containers needed for running the test suite completely.
docker run --rm -it --name=cratedb --publish=4200:4200 \
--env=CRATE_HEAP_SIZE=4g crate/crate:nightly \
-Cdiscovery.type=single-node
docker run --rm -it --name=postgresql --publish=5432:5432 \
--env "POSTGRES_HOST_AUTH_METHOD=trust" postgres:15 postgres -c log_statement=all
Run linters and software tests.
poe check
Format code.
poe format