| ❗ WARNING This is very early beta software that has not yet been proven to work. ❗ |
|---|
Install Development Dependencies using Poetry:
poetry installInstall githooks to automate quality checks locally:
poetry run pre-commit install --install-hooks -t pre-commit -t commit-msgAll code quality checks are performed using the Makefile at the root of the repository. You can execute individual steps by name or execute all steps by omitting a target using make or specifying make all:
make allIf you want to purge the repo of all ignore files include the embedded virtual environment then run all tests in a fresh environment you can run:
make clean allChangelog and semantic version are automated using Semantic-Release during the CD process. To accomplish this, this repository makes heavy use of Conventional Commits, thought this isn't strictly enforced on the server side at this time until 1.0 is released, but the githooks will lint your commits.
docker run -d -p 27017:27017 --name mongo -e MONGO_INITDB_ROOT_USERNAME=username -e MONGO_INITDB_ROOT_PASSWORD=password mongoOnce the mongodb server is up and running you can create a pymongo client and pass it either into a MongoDBBroker or a MongoDBBackend to test the code locally. Otherwise everything should behave in accordance with the documentation for Dramatiq.