Skip to content

Opinionated Django project template

Notifications You must be signed in to change notification settings

ulgens/django-blasphemy

Repository files navigation

django-blasphemy

Django development playground. It's for when you need to try something but the project in front of you is too complex / big / important to test stuff on it. Can be used as project starter if you have that kind of energy.

  • Before first run, cp env.sample to .env and update it as you like.
  • For docker build, Buildkit must be enabled. If Buildkit is not enabled system or user wide, docker related commands should be called like DOCKER_BUILDKIT=1 make build or DOCKER_BUILDKIT=1 docker-compose build

Heroku Config

https://devcenter.heroku.com/articles/dyno-metadata is required for Sentry release information.

Buildpacks

moneymeets/python-poetry-buildpack is necessary for building with poetry.

heroku buildpacks:clear
heroku buildpacks:add https://github.com/moneymeets/python-poetry-buildpack.git
heroku buildpacks:add heroku/python

heroku config:set POETRY_VERSION=1.8.4
heroku config:set PYTHON_RUNTIME_VERSION=3.13.0

Contribution

Install pre-commit hooks by pre-commit install