Prepare for the ultimate showcase showdown. https://voterbowl.org/
We use:
We spend all our hipster tech tokens for this project to help us build a front-end directly in Django-land. In particular, we use:
Having never used any of these toys before, we'll see how this pans out. (Update: so far, I sorta like HTMX but don't love how I've structured everything with the other two. And I hate Django templates as much as I remember.)
(Others under consideration include django-slippers, django-template-partials, and django-components. And don't forget the django-htmx-patterns documentation.)
For code cleanliness, we also use:
- Make sure you have python 3.12 installed
- Create and enable a python virtualenv with
python -m venv .venv; source .venv/bin/activate
- Install the python dependencies with
pip install -r requirements.txt
orpip install ".[dev]"
- Get postgres set up. If you've got docker installed,
./scripts/dockerpg.sh up
- Configure your environment variables. (See
.env.sample
andsettings.py
) - Run the app.
./manage.py runserver
and visit http://localhost:8000/