Get a new Django site started in a Djiffy
  • Python 44.6%
  • HTML 26%
  • JavaScript 13.9%
  • CSS 6.3%
  • Shell 5.8%
  • Other 3.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Trey Piepmeier ccf56baf26
Make sure Playwright tests work out of the box
Those screenshots were just a bit out of date!

https://pnpm.io/cli/exec

> The `exec` part is actually optional when the command is not in
> conflict with a builtin pnpm command
2026-07-27 16:08:29 -04:00
.helix Adjust editor configuration files 2026-06-03 17:16:30 -04:00
.zed Adjust editor configuration files 2026-06-03 17:16:30 -04:00
hooks Clean up the .env file creation 2026-07-27 09:50:13 -04:00
{{ cookiecutter.project_slug }} Make sure Playwright tests work out of the box 2026-07-27 16:08:29 -04:00
cookiecutter.json Ask for domain name 2026-07-08 12:35:35 -04:00
LICENSE Get started with Cookiecutter. 2025-03-29 15:35:49 -04:00
README.md Simplify the production bootstrapping process 2026-07-27 14:26:37 -04:00

🐍 Django Site

I’ve been using Django for a long time. Here’s how I do it.

Get started

Install it:

cookiecutter git+ssh://[email protected]/trey/django-site

…or…

pipx run cookiecutter git+ssh://[email protected]/trey/django-site

Run it locally:

just dev

Deploy it:

  • Set up a VPS
  • Update vps/playbook.yml
    • Add a value for hosts and change django_port as needed depending on how many Django sites are on this VPS (they must be unique).

Then, something like…

just production-bootstrap
git commit -am "Updates from VPS Toolbox" && git push -u origin main
just production-superuser

And then change your superuser password!

Requirements

One of…