Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Copier template for Django projects used by Evan

NotificationsYou must be signed in to change notification settings

vEnhance/django-copier-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

This is a Django copier template used by Evan Chen for the following projects:

Turns out the configuration files are all basically identicaland I don't want to keep copying them back and forth.

Synopsis

This is used to set up aDjangoproject usinguv.It uses the following frameworks:

Should be pretty straightforward.

Setup

Something like the following in an empty Git repository:

uv inituv add django django-extensionsuv add --dev copier pytest-django prek pyrightuv run copier copy gh:vEnhance/django-copier-template.uv run django-admin startproject config.make installmake migrate

Then, adddjango_extensions toINSTALLED_APPS.

You should alsouv add --dev pytest-xdist anduv add --dev pytest-covif you opted for those testing options.

Deploy script

In all the projects, the following assumptions hold:

  • There is a remote calledorigin on GitHub
  • There is a remote calledproduction on the actual server to push to
  • The primary branch is calledmain (notmaster)

Thendeploy.sh checks if GitHub and the local are in sync(which in particular means that the pre-push hooks have passed).If so, it then updates production to match both.

Updating this template

To pull the most recent version of the template:

make copier

About

Copier template for Django projects used by Evan

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2026 Movatter.jp