Spark is used to demonstrate Django in combination with the GitOps approach.
I'm also using it to test new tools and principles that improve the workflow and development experience.
After cloning the repository, you can set up the environment:
# Create your virtual environment
python3 -m venv venv
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Install pre-commit hook
pre-commit install
Spark connects to a Postgres database. You can host your own for development via docker or docker-compose.
docker compose up -d
This will start Postgres and listen on port 5432.
python spark/manage.py runserver
python spark/manage.py test spark